FUNCTION: InitInstance(HANDLE, int) PURPOSE: Saves instance handle and creates main window COMMENTS: In this function, we save the instance handle in a global variable and create and display the main program window.
| 145 | // create and display the main program window. |
| 146 | // |
| 147 | BOOL |
| 148 | InitInstance(HINSTANCE hInstance, int nCmdShow) |
| 149 | { |
| 150 | return TRUE; |
| 151 | } |
| 152 | |
| 153 | PNHWinApp |
| 154 | GetNHApp() |