Paint & Draw user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPIGdi.au3>.

 

User Defined Function Description
_WinAPI_BeginPaint Prepares the specified window for painting
_WinAPI_DrawAnimatedRects Animates the caption of a window to indicate the opening of an icon or the minimizing or maximizing of a window
_WinAPI_DrawShadowText Draws formatted text in the specified rectangle with a drop shadow
_WinAPI_EndPaint Marks the end of painting in the specified window
_WinAPI_GetBoundsRect Obtains the current accumulated bounding rectangle for a specified device context
_WinAPI_GetROP2 Retrieves the foreground mix mode of the specified device context
_WinAPI_GetUpdateRect Retrieves the coordinates of the rectangle that completely encloses the update region of the specified window
_WinAPI_GetUpdateRgn Retrieves the update region of a window by copying it into the specified region
_WinAPI_GetWindowRgnBox Retrieves the dimensions of the tightest bounding rectangle for the window region of a window
_WinAPI_InvalidateRgn Adds a region to the specified window's update region
_WinAPI_LockWindowUpdate Disables or enables drawing in the specified window
_WinAPI_PaintDesktop Fills the clipping region in the specified device context with the desktop pattern or wallpaper
_WinAPI_SetBoundsRect Controls the accumulation of bounding rectangle information for the specified device context
_WinAPI_SetROP2 Retrieves the foreground mix mode of the specified device context
_WinAPI_ValidateRect Removes a rectangle from the current update region of the specified window
_WinAPI_ValidateRgn Removes a region from the current update region of the specified window
_WinAPI_WindowFromDC Retrieves a handle to the window associated with the specified display device context (DC)