| 156 | } |
| 157 | |
| 158 | void |
| 159 | register_status_window_class(void) |
| 160 | { |
| 161 | WNDCLASS wcex; |
| 162 | ZeroMemory(&wcex, sizeof(wcex)); |
| 163 | |
| 164 | wcex.style = CS_NOCLOSE; |
| 165 | wcex.lpfnWndProc = (WNDPROC) StatusWndProc; |
| 166 | wcex.cbClsExtra = 0; |
| 167 | wcex.cbWndExtra = 0; |
| 168 | wcex.hInstance = GetNHApp()->hApp; |
| 169 | wcex.hIcon = NULL; |
| 170 | wcex.hCursor = LoadCursor(NULL, IDC_ARROW); |
| 171 | wcex.hbrBackground = NULL; |
| 172 | wcex.lpszMenuName = NULL; |
| 173 | wcex.lpszClassName = szStatusWindowClass; |
| 174 | |
| 175 | RegisterClass(&wcex); |
| 176 | } |
| 177 | |
| 178 | LRESULT CALLBACK |
| 179 | StatusWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
no test coverage detected