函数参考


_WinAPI_GetThemeSysFont

Retrieves the font information of a system font.

#Include <WinAPIEx.au3>
_WinAPI_GetThemeSysFont ( $hTheme, $iFontId )

参数

$hTheme Handle to the theme data.
$iFontId The value that specifies a system font. It may be one of the following values.

$TMT_CAPTIONFONT
$TMT_SMALLCAPTIONFONT
$TMT_MENUFONT
$TMT_STATUSFONT
$TMT_MSGBOXFONT
$TMT_ICONTITLEFONT

返回值

Success $tagLOGFONT structure that contains the font information.
失败: 返回 0 并设置 @error 标志为非 0 值, @extended 标志可能包含一个系统错误代码.

注意/说明

If the theme data handle is not 0, this function returns the font information from the SysMetrics section of the
visual style, otherwise, the function returns the value of the global system metric.

相关

详情参考

在MSDN中搜索