Common Windows Messages
Message | Sent When |
---|---|
WM_CHAR | A character is input from the keyboard. |
WM_COMMAND | The user selects an item from a menu, or a control sends a notification to its parent. |
WM_CREATE | A window is created. |
WM_DESTROY | A window is destroyed. |
WM_LBUTTONDOWN | The left mouse button is pressed. |
WM_LBUTTONUP | The left mouse button is released. |
WM_MOUSEMOVE | The mouse pointer is moved. |
WM_PAINT | A window needs repainting. |
WM_QUIT | The application is about to terminate. |
WM_SIZE | A window is resized. |
常用Windows消息