MSDN Documentation

Windows and Messages

This section provides detailed information about the core Windows messaging system, including window creation, message handling, and communication between windows. Understanding these concepts is fundamental to developing Windows applications.

Core Concepts

Key Functions and Structures

Name Description
CreateWindowEx Creates an overlapped, pop-up, or child window.
DefWindowProc Processes Windows messages that the application does not explicitly process.
GetMessage Retrieves messages from the calling thread's message queue.
TranslateMessage Translates virtual-key messages into character messages.
DispatchMessage Dispatches a message to a window procedure.
MSG Contains message information from a thread's message queue.
WNDCLASS Defines the window class attributes.

Message Categories

Messages are broadly categorized into several types:

Further Reading