#define MSG_ERASEBKGND 0x00B0 |
Sent to the window to erase the background.
This message is sent to the window if the whole or a part of the background should be erased.
MSG_ERASEBKGND HDC hdc = (HDC)wParam; const RECT* inv_rect = (const RECT*)lParam;
hdc | The device context. | |
inv_rect | The pointer to a RECT structure contains the rectangle should be erase. The rectangle is in client coordinates system. If it is NULL, the whole client area should be erased. |
#define MSG_NCACTIVATE 0x00B3 |
#define MSG_NCPAINT 0x00B2 |
Indicates that paints non-client area.
MSG_NCPAINT HDC hdc = (HDC)wParam; const RECT* inv_rect = (const RECT*)lParam;
hdc | The device context. | |
inv_rect | The pointer to a RECT structure contains the rectangle should be paint. The rectangle is in client coordinates system. If it is NULL, the whole nc client area should be paint. |
#define MSG_PAINT 0x00B1 |
Sent to the window if the window contains an invalid region.
This message is sent to the window if the window contains an invalid region.
inv_rgn | The pointer to the invalid region of the window. |
#define MSG_SHOWWINDOW 0x00A0 |
Indicates that the window has been shown or hidden.
This message is sent to the window when the window has been shown or hidden (due to the calling of the function ShowWindow).
MSG_SHOWWINDOW int show_cmd = (int)wParam;
show_cmd | The command to show or hide, can be one of the following values:
|