Windows Messages
A version of this page is also available for
4/8/2010
The following table shows the windows messages, with a description of the purpose of each.
Programming element | Description |
---|---|
This message is sent to the focus window when a dialog box or message box is displayed; this enables the focus window to cancel modes, such as stylus capture. |
|
This message is sent as a signal that a window or an application should terminate. |
|
This message is sent when an application requests that a window be created by calling the CreateWindowEx or CreateWindow function. |
|
This message is sent when a window is being destroyed. |
|
This message is sent when an application changes the enabled state of a window. |
|
This message is sent by an application when the window background must be erased, for example, when a window is resized. |
|
This message is sent by an application to copy the text that corresponds to a window into a buffer provided by the caller. |
|
This message is sent by an application to determine the length, in characters, of the text associated with a window. |
|
This message is sent after a window has been moved. |
|
This message indicates a request to terminate an application and is generated when the application calls the PostQuitMessage function. |
|
This message is sent by an application to set the window text. |
|
This message is sent to a window after its size has changed. |
|
This message is sent to a window after the SetWindowLong function has changed one or more of the window's styles. |
|
This message is sent to a window whose size, position, or place in the z-order has changed as a result of a call to the SetWindowPos function or another window-management function. |
|