Skip to content

Latest commit

 

History

History
102 lines (75 loc) · 3.11 KB

nf-uxtheme-getthemeposition.md

File metadata and controls

102 lines (75 loc) · 3.11 KB
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.
GetThemePosition
GetThemePosition function [Windows Controls]
controls.GetThemePosition
controls.inet_GetThemePosition
inet_GetThemePosition
inet_GetThemePosition_cpp
uxtheme/GetThemePosition
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
GetThemePosition
uxtheme/GetThemePosition
c++
APIRef
kbSyntax
DllExport
UxTheme.dll
Ext-MS-Win-UXTheme-Themes-l1-1-0.dll
xamlpalwp.dll
ext-ms-win-uxtheme-themes-l1-1-1.dll
GetThemePosition

GetThemePosition function

-description

Retrieves the value of a position property.

-parameters

-param hTheme [in]

Type: HTHEME

Handle to a window's specified theme data. Use OpenThemeData to create an HTHEME.

-param iPartId [in]

Type: int

Value of type int that specifies the part that contains the position property. See Parts and States.

-param iStateId [in]

Type: int

Value of type int that specifies the state of the part. See Parts and States.

-param iPropId [in]

Type: int

Value of type int that specifies the property to retrieve. For a list of possible values, see Property Identifiers.

-param pPoint [out]

Type: POINT*

Pointer to a POINT structure that receives the position value.

-returns

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

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.

-see-also

Property Identifiers