Retrieves whether the theme-specified background has transparent pieces or alpha-blended pieces.
Syntax
BOOL IsThemeBackgroundPartiallyTransparent( HTHEME hTheme, int iPartId, int iStateId );
Parameters
- hTheme
- Handle to a window's specified theme data. Use OpenThemeData to create an HTHEME.
- iPartId
- Integer that specifies the part.
- iStateId
- Integer that specifies the state of the part.
Return Value
One of the following:
TRUE If the theme specified background for a particular iPartId and iStateId has transparent pieces or alpha-blended pieces. FALSE If the theme specified background for a particular iPartId and iStateId does not have transparent pieces or alpha-blended pieces.
Function Information
Stock Implementation UxTheme.dll Custom Implementation No Header ThemeApi.h Import library UxTheme.lib Minimum operating systems Windows NT Whistler