Retrieves information about the font specified by a visual style for a particular part
#include <WinAPITheme.au3>
_WinAPI_GetThemeTextMetrics ( $hTheme, $iPartID, $iStateID [, $hDC = 0] )
$hTheme | Handle to a window's specified theme data. |
$iPartID | The part to retrieve font information about. |
$iStateID | The state of the part. |
$hDC | [optional] Handle to the device context to use for screen context. |
Success: | $tagTEXTMETRIC structure that contains the font information. |
Failure: | Sets the @error flag to non-zero, @extended flag may contain the HRESULT error code. |
Search GetThemeTextMetrics in MSDN Library.