Function Reference


_WinAPI_GetThemeFont

Retrieves the value of a font property

#include <WinAPITheme.au3>
_WinAPI_GetThemeFont ( $hTheme, $iPartID, $iStateID, $iPropID [, $hDC = 0] )

Parameters

$hTheme Handle to a window's specified theme data.
$iPartID The part that contains the font property.
$iStateID The state of the part.
$iPropID The property to retrieve ($TMT_*).
$hDC [optional] Handle to the device context.

Return Value

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

See Also

Search GetThemeFont in MSDN Library.