IsThemePartDefined Function


This is preliminary documentation and is subject to change.

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:

TRUEIf the theme has defined parameters for the specified iPartId and iStateId
FALSEIf the theme does not have defined parameters for the specified iPartId and iStateId

Function Information

Stock ImplementationUxTheme.dll
Custom ImplementationNo
HeaderThemeApi.h
Import libraryUxTheme.lib
Minimum operating systems Windows NT Whistler


© 2000 Microsoft Corporation. All rights reserved. Terms of use.