Windows‎ > ‎


To creating a main app window:

  1. 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)
  2. Create a window object from your window class by declaring a HWND variable and initialize it using CreateWindow() or CreateWindowEx()
  3. Show the window by calling ShowWindow()