Hand Held Products PadCom TT1500 User Manual page 97

Point-of-sale terminal control library
Table of Contents

Advertisement

// ---------------------------------------------------------------------------
// WinMain
// ---------------------------------------------------------------------------
int CALLBACK WinMain(
HINSTANCE hInst, HINSTANCE hInstPrev, LPSTR lpstrCmdLine, int cmdShow
)
{
MSG msg;
WNDCLASS wc;
theInstance = hInst;
// Register the window class if this is the first instance.
if( !hInstPrev )
{
wc.lpszMenuName= NULL;
wc.lpszClassName= "TEST";
wc.hInstance= hInst;
wc.hIcon= NULL;
wc.hCursor= NULL;
wc.hbrBackground= (HBRUSH)(COLOR_WINDOW+1);
wc.style= 0;
wc.lpfnWndProc= WndProc;
wc.cbClsExtra= 0;
wc.cbWndExtra= 0;
if( !RegisterClass( &wc ) )
return 0;
}
// Create the main window
if( !(theWnd = CreateWindowEx(
WS_EX_TOPMOST, "TEST", "Sign on the pad and hit any key when done",
WS_OVERLAPPED | WS_SYSMENU, CW_USEDEFAULT, CW_USEDEFAULT, 375, 225,
NULL, NULL, hInst, NULL ))
)
return 0;
5 - 9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents