Funktionreferenz


_WinAPI_GetThemeSysFont


Retrieves the font information of a system font

#include <WinAPITheme.au3>
_WinAPI_GetThemeSysFont ( $hTheme, $iFontID )

Parameter

$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

Rückgabewert

Success: $tagLOGFONT structure that contains the font information.
Failure: Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

Bemerkungen

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.

Siehe auch

Suche nach GetThemeSysFont in der MSDN Bibliothek.