Window painting messages
[Messages]

Defines


Define Documentation

#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;
Parameters:
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.

Definition at line 1278 of file window.h.

#define MSG_NCACTIVATE   0x00B3

Indicates that active non-client area of main window.

Definition at line 1316 of file window.h.

#define MSG_NCPAINT   0x00B2

Indicates that paints non-client area.

 MSG_NCPAINT
 HDC hdc = (HDC)wParam;
 const RECT* inv_rect = (const RECT*)lParam;
Parameters:
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.

Definition at line 1310 of file window.h.

#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.

 MSG_PAINT
 const CLIPRGN* inv_rgn = (const CLIPRGN*) lParam;
Parameters:
inv_rgn The pointer to the invalid region of the window.

Definition at line 1293 of file window.h.

#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;
Parameters:
show_cmd The command to show or hide, can be one of the following values:

  • SW_SHOW
    Shows the window.
  • SW_HIDE
    Hides the window.
  • SW_SHOWNORMAL
    Shows the window, and if the window is a main window sets it to be the topmost main window.
See also:
ShowWindow

Definition at line 1258 of file window.h.

#define MSG_SYNCPAINT   0x00B4

Indicates that actives and paints main window synchronously.

Definition at line 1322 of file window.h.

Generated on Thu Apr 7 15:58:39 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3