5 - 21
wc.lpszClassName= appName;
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;
}
//
// Attemp to create the main window
//
theWnd =CreateWindowEx
(
WS_EX_TOPMOST, appName, appTitle, WS_OVERLAPPED | WS_SYSMENU,
CW_USEDEFAULT, CW_USEDEFAULT, 375, 225,NULL, NULL,hInst, NULL
);
//
// If the window was not created then quit
//
if ( !theWnd )
{
return 0;
}
//
// Show the main window
//
ShowWindow( theWnd, cmdShow );
Summary of Contents for PadCom TT1500
Page 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Page 88: ...4 2 ...
Page 129: ......
Page 130: ......
Page 131: ......
Page 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...