Function Reference


Retrieves the font information of a system font

#include <WinAPITheme.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.

Return Value

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


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.

See Also

Search GetThemeSysFont in MSDN Library.