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.GetThemePosition |
GetThemePosition function (uxtheme.h) |
Retrieves the value of a position property. |
|
controls\GetThemePosition.htm |
Controls |
VS|Controls|~\controls\userex\functions\getthemeposition.htm |
12/05/2018 |
GetThemePosition, GetThemePosition function [Windows Controls], controls.GetThemePosition, controls.inet_GetThemePosition, inet_GetThemePosition, inet_GetThemePosition_cpp, uxtheme/GetThemePosition |
uxtheme.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2003 [desktop apps only] |
UxTheme.lib |
UxTheme.dll |
Windows |
19H1 |
|
|
|
|
|
|
Retrieves the value of a position property.
Type: HTHEME
Handle to a window's specified theme data. Use OpenThemeData to create an HTHEME.
Type: int
Value of type int that specifies the part that contains the position property. See Parts and States.
Type: int
Value of type int that specifies the state of the part. See Parts and States.
Type: int
Value of type int that specifies the property to retrieve. For a list of possible values, see Property Identifiers.
Type: POINT*
Pointer to a POINT structure that receives the position value.
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The part in which the position is located determines the possible state values. For example, if the position is in a check box, the state could be checked or unchecked, but in a caption the possible states are active, inactive, or disabled.