1 #pragma once
2 
3 #include <windows.h>
4 #include <commctrl.h>
5 #include <strsafe.h>
6 
7 /* Global instance handle */
8 extern HINSTANCE g_hInstance;
9 
10 /* Window procedure for our main window */
11 LRESULT CALLBACK MainWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
12 
13 /* Register a class for our main window */
14 BOOL RegisterMainWindowClass(void);
15 
16 /* Create an instance of our main window */
17 HWND CreateMainWindow(void);
18 
19 /* Dialog procedure for our "about" dialog */
20 INT_PTR CALLBACK AboutDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
21 
22 /* Show our "about" dialog */
23 void ShowAboutDialog(HWND owner);
24 
25 
26 #define IDI_APPICON                     101
27 #define IDR_MAINMENU                    102
28 #define IDR_ACCELERATOR                 103
29 #define IDD_ABOUTDIALOG                 104
30 #define ID_FILE_EXIT                    40001
31 #define ID_HELP_ABOUT                   40002
32 
33 #ifndef IDC_STATIC
34   #define IDC_STATIC                    -1
35 #endif
36