Windows UI API Reference

Window Management

CreateWindowEx

CreateWindowEx(dwExStyle, lpClassName, lpWindowName, dwStyle, x, y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)

Creates an overlapping, pop-up, or child window. It specifies, among other things, a class name, window text, and style attributes.

DestroyWindow

DestroyWindow(hWnd)

Destroys the specified window. The window in this parameter is also destroyed, along with any child windows it owns.

GetMessage

GetMessage(lpMsg, hWnd, wMsgFilterMin, wMsgFilterMax)

Retrieves the next message from the thread's message queue. Transforms received asynchronous keystroke messages into the correct