Retrieves information about the font specified by a visual style for a particular part.
#Include <WinAPIEx.au3>
_WinAPI_GetThemeTextMetrics ( $hTheme, $iPartId, $iStateId [, $hDC] )
$hTheme | Handle to a window's specified theme data. |
$iPartId | The part to retrieve font information about. |
$iStateId | The state of the part. |
$hDC | [可选参数] Handle to the device context to use for screen context. |
Success | $tagTEXTMETRIC structure that contains the font information. |
失败: | 返回 0 并设置 @error 标志为非 0 值, @extended 标志可能包含一个系统错误代码. |
在MSDN中搜索