Function Reference


Retrieves the value of a system size metric from theme data

#include <WinAPITheme.au3>
_WinAPI_GetThemeSysSize ( $hTheme, $iSizeID )


$hTheme Handle to the theme data.
$iSizeID The value that specifies the system size metric desired. The following values are valid.

Return Value

Returns the size in pixels.


If $hTheme is not 0, this function returns the size stored in the current visual style (SysMetrics section
of the visual style) scaled to the current screen dpi. If $hTheme is 0, this function returns the global system
metric in pixels that is scaled to the current dpi only if the application is marked as dpi-aware; otherwise,
the pixels returned are unscaled.

See Also

Search GetThemeSysSize in MSDN Library.