IsThemeBackgroundPartiallyTransparent function (uxtheme.h)
Retrieves whether the background specified by the visual style has transparent pieces or alpha-blended pieces.
Syntax
BOOL IsThemeBackgroundPartiallyTransparent(
[in] HTHEME hTheme,
[in] int iPartId,
[in] int iStateId
);
Parameters
[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. See Parts and States.
[in] iStateId
Type: int
Value of type int that specifies the state of the part. See Parts and States.
Return value
Type: BOOL
Returns one of the following values.
Return code | Description |
---|---|
|
The theme-specified background for a particular iPartId and iStateId has transparent pieces or alpha-blended pieces. |
|
The theme-specified background for a particular iPartId and iStateId does not have transparent pieces or alpha-blended pieces. |
Requirements
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 |