6 /* Global instance handle */
7 extern HINSTANCE g_hInstance
;
9 /* Window procedure for our main window */
10 LRESULT CALLBACK
MainWndProc(HWND hWnd
, UINT msg
, WPARAM wParam
, LPARAM lParam
);
12 /* Register a class for our main window */
13 BOOL
RegisterMainWindowClass(void);
15 /* Create an instance of our main window */
16 HWND
CreateMainWindow(void);
18 /* Dialog procedure for our "about" dialog */
19 INT_PTR CALLBACK
AboutDialogProc(HWND hwndDlg
, UINT uMsg
, WPARAM wParam
, LPARAM lParam
);
21 /* Show our "about" dialog */
22 void ShowAboutDialog(HWND owner
);
25 #define IDI_APPICON 101
26 #define IDR_MAINMENU 102
27 #define IDR_ACCELERATOR 103
28 #define IDD_ABOUTDIALOG 104
29 #define ID_FILE_EXIT 40001
30 #define ID_HELP_ABOUT 40002