UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:uxtheme.GetThemeTextMetrics |
GetThemeTextMetrics function (uxtheme.h) |
Retrieves information about the font specified by a visual style for a particular part. |
|
controls\GetThemeTextMetrics.htm |
Controls |
VS|Controls|~\controls\userex\functions\getthemetextmetrics.htm |
12/05/2018 |
GetThemeTextMetrics, GetThemeTextMetrics function [Windows Controls], controls.GetThemeTextMetrics, controls.inet_GetThemeTextMetrics, inet_GetThemeTextMetrics, inet_GetThemeTextMetrics_cpp, uxtheme/GetThemeTextMetrics |
uxtheme.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2003 [desktop apps only] |
UxTheme.lib |
UxTheme.dll |
Windows |
19H1 |
|
|
|
|
|
|
Retrieves information about the font specified by a visual style for a particular part.
Type: HTHEME
Handle to a window's specified theme data. Use OpenThemeData to create an HTHEME.
Type: HDC
HDC to use for screen context. This parameter may be set to NULL.
Type: int
Value of type int that specifies the part to retrieve font information about. See Parts and States.
Type: int
Value of type int that specifies the state of the part. See Parts and States.
Type: TEXTMETRIC*
Receives the font information.
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.