To creating a main app window: - Register a window class with Windows (by declaring a WNDCLASS or WNDCLASSEX structure, populating it with details about your window, and then passing it to RegisterClass or RegisterClassEx)
- Create a window object from your window class by declaring a HWND variable and initialize it using CreateWindow() or CreateWindowEx()
- Show the window by calling ShowWindow()
|