函数参考


_WinAPI_GetThemeTextMetrics

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 标志可能包含一个系统错误代码.

注意/说明

None

相关

详情参考

在MSDN中搜索