version 1.2 | | version 1.3 |
---|
| | |
#endif | | #endif |
#endif | | #endif |
| | |
wcDescentClass.lpszClassName = "WinDescent"; | | wcDescentClass.lpszClassName = "WinD1X"; |
wcDescentClass.hInstance = hInst; | | wcDescentClass.hInstance = hInst; |
wcDescentClass.lpfnWndProc = DescentWndProc; | | wcDescentClass.lpfnWndProc = DescentWndProc; |
wcDescentClass.hCursor = LoadCursor(NULL, IDC_ARROW); | | wcDescentClass.hCursor = LoadCursor(NULL, IDC_ARROW); |
| | |
// Register the class | | // Register the class |
RegisterClass(&wcDescentClass); | | RegisterClass(&wcDescentClass); |
g_hWnd = CreateWindowEx(0, | | g_hWnd = CreateWindowEx(0, |
"WinDescent", | | "WinD1X", |
"Descent", | | "Descent", |
WS_OVERLAPPED | WS_BORDER, | | WS_OVERLAPPED | WS_BORDER, |
0, 0, | | 0, 0, |