Retrieves the value of a system size metric from theme data.
#Include <WinAPIEx.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. $SM_CXBORDER $SM_CXVSCROLL $SM_CXHSCROLL $SM_CXSIZE $SM_CYSIZE $SM_CXSMSIZE $SM_CYSMSIZE $SM_CXMENUSIZE $SM_CYMENUSIZE $SM_CXPADDEDBORDER |
Success | The size in pixels. |
失败: | 返回 0 并设置 @error 标志为非 0 值. |
在MSDN中搜索