5 - 5
wc.lpszMenuName= NULL;
wc.lpszClassName= "TESTAPP";
wc.hInstance= hInst;
wc.hIcon= NULL;
wc.hCursor = NULL;
wc.hbrBackground= (HBRUSH)COLOR_ 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, "TESTAPP", "SIGN YOUR NAME THEN PRESS ANY BUTTON",
WS_OVERLAPPED | WS_SYSMENU, CW_USEDEFAULT, CW_USEDEFAULT, 375, 225,
NULL, NULL, hInst, NULL ))
)
return 0;
// Show main window
ShowWindow( theWnd, cmdShow );
UpdateWindow( theWnd );
// Main message loop
while( GetMessage( (LPMSG)&msg, NULL, 0, 0 ) )
{
TranslateMessage( (LPMSG)&msg );
DispatchMessage( (LPMSG)&msg );
}
return 0;
}
// ---------------------------------------------------------------------------
// WndProc
Содержание PadCom TT1500
Страница 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Страница 88: ...4 2 ...
Страница 129: ......
Страница 130: ......
Страница 131: ......
Страница 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...