Retrieves whether a theme has defined parameters for the specified part and state.
Syntax
BOOL IsThemePartDefined( 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 has defined parameters for the specified iPartId and iStateId FALSE If the theme does not have defined parameters for the specified iPartId and iStateId
Function Information
Stock Implementation UxTheme.dll Custom Implementation No Header ThemeApi.h Import library UxTheme.lib Minimum operating systems Windows NT Whistler