Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the value of a RECT property.
HRESULT GetThemeRect(
[in] HTHEME hTheme,
[in] int iPartId,
[in] int iStateId,
[in] int iPropId,
[out] LPRECT pRect
);
[in] hTheme
Type: HTHEME
Handle to a window's specified theme data. Use OpenThemeData to create an HTHEME.
[in] iPartId
Type: int
Value of type int that specifies the part containing the RECT property. See Parts and States.
[in] iStateId
Type: int
Value of type int that specifies the state of the part. See Parts and States.
[in] iPropId
Type: int
Value of type int that specifies the property to retrieve. For a list of possible values, see Property Identifiers.
[out] pRect
Type: LPRECT
Pointer to a RECT structure that receives a rectangle.
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | uxtheme.h |
Library | UxTheme.lib |
DLL | UxTheme.dll |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!