case WM_CLOSE: PostQuitMessage(0); break; case WM_PAINT:
HWND hwnd = CreateWindowW(L"FirstWin", L"My First Window", WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, 400, 300, NULL, NULL, hInst, NULL); ShowWindow(hwnd, nShow); first windows program
A strategy game that served a secret educational purpose—it taught users how to use a mouse, which was a foreign concept to most people in 1985. Windows Paint: A monochrome graphics program for drawing. case WM_CLOSE: PostQuitMessage(0)