Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following functions are used with painting and drawing.
Function | Description |
---|---|
BeginPaint | Prepares a window for painting. |
DrawAnimatedRects | Draws a rectangle and animates it to indicate icon or window activity. |
DrawCaption | Draws a window caption. |
DrawEdge | Draws one or more edges of rectangle. |
DrawFocusRect | Draws a rectangle in the style that indicates the rectangle has the focus. |
DrawFrameControl | Draws a frame control. |
DrawState | Displays an image and applies a visual effect to indicate a state. |
DrawStateProc | A callback function that renders a complex image for DrawState. |
EndPaint | Marks the end of painting in a window. |
ExcludeUpdateRgn | Prevents drawing within invalid areas of a window. |
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. |
GetBkColor | Returns the background color for a device context. |
GetBkMode | Returns the background mix mode for a device context. |
GetBoundsRect | Gets the accumulated bounding rectangle for a device context. |
GetROP2 | Gets the foreground mix mode of a device context. |
GetUpdateRect | Gets the coordinates of the smallest rectangle that encloses the update region of a window. |
GetUpdateRgn | Gets the update region of a window. |
GetWindowDC | Gets the device context for a window, including title bar, menus, and scroll bars. |
GetWindowRgn | Gets a copy of the window region of a window. |
GetWindowRgnBox | Gets the dimensions of the tightest bounding rectangle for the window region of a window. |
GrayString | Draws gray text at a ___location. |
InvalidateRect | Adds a rectangle to a window's update region. |
InvalidateRgn | Invalidates the client area within a region. |
LockWindowUpdate | Disables or enables drawing in a window. |
OutputProc | A callback function used with the GrayString function. It is used to draw a string. |
PaintDesktop | Fills the clipping region in a device context with a pattern. |
RedrawWindow | Updates a region in a window's client area. |
SetBkColor | Sets the background to a color value. |
SetBkMode | Sets the background mix mode of a device context. |
SetBoundsRect | Controls the accumulation of bounding rectangle information for a device context. |
SetROP2 | Sets the foreground mix mode. |
SetWindowRgn | Sets the window region of a window. |
UpdateWindow | Updates the client area of a window. |
ValidateRect | Validates the client area within a rectangle. |
ValidateRgn | Validates the client area within a region. |
WindowFromDC | Returns a handle to the window associated with a device context. |