 |
 |
Painting and Drawing ..msdn Add comment |
 |
|
DrawAnimatedRects
|
|
The DrawAnimatedRects function draws a wire-frame rectangle and animates it to indicate the opening of an icon or the minimizing or maximizing of a window. |
|
 |
 |
 |
|
DrawCaption
|
|
The DrawCaption function draws a window caption. |
|
 |
 |
 |
|
DrawEdge
|
|
The DrawEdge function draws one or more edges of rectangle. |
|
 |
 |
 |
|
DrawFrameControl
|
|
The DrawFrameControl function draws a frame control of the specified type and style. |
|
 |
 |
 |
|
GdiFlush
|
|
Flushes the calling thread`s current batch. |
|
 |
 |
 |
|
GdiGetBatchLimit
|
|
Returns the maximum number of function calls that can be accumulated in the calling thread`s current batch. |
|
 |
 |
 |
|
GdiSetBatchLimit
|
|
Sets the maximum number of function calls that can be accumulated in the calling thread`s current batch. The system flushes the current batch whenever this limit is exceeded. |
|
 |
 |
 |
|
GetBkMode
|
|
Returns the current background mix mode for a specified device context. The background mix mode of a device context affects text, hatched brushes, and pen styles that are not solid lines. |
|
 |
 |
 |
|
GetBoundsRect
|
|
The GetBoundsRect function obtains the current accumulated bounding rectangle for a specified device context. The system maintains an accumulated bounding rectangle for each application. An application can retrieve and set this rectangle. |
|
 |
 |
 |
|
GetWindowDC
|
|
The GetWindowDC function retrieves the device context (DC) for the entire window, including title bar, menus, and scroll bars |
|
 |
 |
 |
|
GetWindowRgnBox
|
|
Retrieves the dimensions of the tightest bounding rectangle for the window region of a window. |
|
 |
 |
 |
|
LockWindowUpdate
|
|
The LockWindowUpdate function disables or enables drawing in the specified window. Only one window can be locked at a time. |
|
 |
 |
 |
|
PaintDesktop
|
|
Fills the clipping region in the specified device context with the desktop pattern or wallpaper. |
|
 |
 |
 |
|
SetBkColor
|
|
The SetBkColor function sets the current background color to the specified color value, or to the nearest physical color if the device cannot represent the specified color value. |
|
 |
 |
 |
|
SetBkMode
|
|
Sets the background mix mode of the specified device context. The background mix mode is used with text, hatched brushes, and pen styles that are not solid lines. |
|
 |
 |
 |
|
SetWindowRgn
|
|
Sets the window region of a window. The window region determines the area within the window where the system permits drawing. The system does not display any portion of a window that lies outside of the window region |
|
 |
 |
 |
|
WindowFromDC
|
|
Returns a handle to the window associated with the specified display device context (DC).
|
|
 |
 |
 |
 |
| Code examples: |
 |
|
|
 |
|
|