Casio PA-2400W Software Manual page 39

C library manual
Hide thumbs Also See for PA-2400W:
Table of Contents

Advertisement

InitCommonControls();
hInst = hInstance;
hWnd = CreateWindow(szAppName,
ShowWindow(hWnd, SW_SHOW);
UpdateWindow(hWnd);
while ( GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return(msg.wParam);
}
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM uParam,
{
HDC
hdc;
PAINTSTRUCT ps;
RECT
rect;
DWORD
ThreadID;
switch (message)
{
case WM_CREATE:
sndPlaySound(TEXT("OpenProg"), SND_NODEFAULT | SND_ASYNC);
hWndCB = CommandBar_Create(hInst, hWnd, 1);
CommandBar_AddAdornments( hWndCB, 0L, 0L);
return 0;
// Initialize common controls - command bar
// Save handle to create command bar
szTitle,
WS_OVERLAPPED,
100,
50,
WINDOW_WIDTH/2,
WINDOW_HEIGHT/2,
NULL,
NULL,
hInstance,
NULL);
39
// Class
// Title
// Style
// x-position
// y-position
// x-size
// y-size
// Parent handle
// Menu handle
// Instance handle
// Creation
LPARAM lParam )

Advertisement

Table of Contents
loading

Table of Contents