Theme 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 <WinAPITheme.au3>.

 

User Defined Function Description
_WinAPI_BeginBufferedPaint Begins a buffered paint operation
_WinAPI_BufferedPaintClear Clears a specified rectangle in the buffer to ARGB = {0,0,0,0}
_WinAPI_BufferedPaintInit Initialize buffered painting for the current thread
_WinAPI_BufferedPaintSetAlpha Sets the alpha to a specified value in a given rectangle
_WinAPI_BufferedPaintUnInit Closes down buffered painting for the current thread
_WinAPI_CloseThemeData Closes the theme data handle
_WinAPI_DrawThemeBackground Draws the border and fill defined by the visual style for the specified control part
_WinAPI_DrawThemeEdge Draws one or more edges defined by the visual style of a rectangle
_WinAPI_DrawThemeIcon Draws an image from an image list with the icon effect defined by the visual style
_WinAPI_DrawThemeParentBackground Draws the part of a parent control that is covered by a partially-transparent or alpha-blended child control
_WinAPI_DrawThemeText Draws text using the color and font defined by the visual style
_WinAPI_DrawThemeTextEx Draws text using the color and font defined by the visual style
_WinAPI_EndBufferedPaint Completes a buffered paint operation and frees the associated buffered paint handle
_WinAPI_GetBufferedPaintBits Retrieves a pointer to the buffer bitmap if the buffer is a device-independent bitmap (DIB)
_WinAPI_GetBufferedPaintDC Gets the paint device context (DC)
_WinAPI_GetBufferedPaintTargetDC Retrieves the target device context (DC)
_WinAPI_GetBufferedPaintTargetRect Retrieves the target rectangle
_WinAPI_GetCurrentThemeName Retrieves the name of the current visual styles, color scheme name, and size name
_WinAPI_GetThemeAppProperties Retrieves the property flags that control how visual styles are applied in the current application
_WinAPI_GetThemeBackgroundContentRect Retrieves the size of the content area for the background defined by the visual style
_WinAPI_GetThemeBackgroundExtent Calculates the size and location of the background, defined by the visual style, given the content area
_WinAPI_GetThemeBackgroundRegion Computes the region for a regular or partially transparent background that is bounded by a specified rectangle
_WinAPI_GetThemeBitmap Retrieves the bitmap associated with a particular theme, part, state, and property
_WinAPI_GetThemeBool Retrieves the value of a BOOL property from the SysMetrics section of theme data
_WinAPI_GetThemeColor Retrieves the value of a color property
_WinAPI_GetThemeDocumentationProperty Retrieves the value for a theme property from the documentation section of the specified theme file
_WinAPI_GetThemeEnumValue Retrieves the value of an enumerated type property
_WinAPI_GetThemeFilename Retrieves the value of a filename property
_WinAPI_GetThemeFont Retrieves the value of a font property
_WinAPI_GetThemeInt Retrieves the value of an INT property
_WinAPI_GetThemeMargins Retrieves the value of a margins property
_WinAPI_GetThemeMetric Retrieves the value of a metric property
_WinAPI_GetThemePartSize Calculates the original size of the part defined by a visual style
_WinAPI_GetThemePosition Retrieves the value of a position property
_WinAPI_GetThemePropertyOrigin Retrieves the location of the theme property definition for a property
_WinAPI_GetThemeRect Retrieves the value of a RECT property
_WinAPI_GetThemeString Retrieves the value of a string property
_WinAPI_GetThemeSysBool Retrieves the Boolean value of a system metric
_WinAPI_GetThemeSysColor Retrieves the value of a system color
_WinAPI_GetThemeSysColorBrush Retrieves a system color brush
_WinAPI_GetThemeSysFont Retrieves the font information of a system font
_WinAPI_GetThemeSysInt Retrieves the value of a system INT
_WinAPI_GetThemeSysSize Retrieves the value of a system size metric from theme data
_WinAPI_GetThemeSysString Retrieves the value of a system string
_WinAPI_GetThemeTextExtent Calculates the size and location of the specified text when rendered in the visual style font
_WinAPI_GetThemeTextMetrics Retrieves information about the font specified by a visual style for a particular part
_WinAPI_GetThemeTransitionDuration Gets the duration for the specified transition
_WinAPI_GetWindowTheme Retrieves a theme handle to a window that has visual styles applied
_WinAPI_IsThemeActive Tests if a visual style for the current application is active
_WinAPI_IsThemeBackgroundPartiallyTransparent Retrieves whether the background specified by the visual style has transparent pieces or alpha-blended pieces
_WinAPI_IsThemePartDefined Retrieves whether a visual style has defined parameters for the specified part
_WinAPI_OpenThemeData Opens the theme data for a window and its associated class
_WinAPI_SetThemeAppProperties Sets the flags that determine how visual styles are implemented in the calling application
_WinAPI_SetWindowTheme Causes a window to use a different set of visual style information than its class normally uses