Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsThemeActive
Collapse the table of content
Expand the table of content

IsThemeActive function

Tests if a visual style for the current application is active.

Syntax


BOOL IsThemeActive(void);

Parameters

This function has no parameters.

Return value

Type: BOOL

Returns one of the following values.

Return codeDescription
TRUE

A visual style is enabled, and windows with visual styles applied should call OpenThemeData to start using theme drawing services.

FALSE

A visual style is not enabled, and the window message handler does not need to make another call to IsThemeActive until it receives a WM_THEMECHANGED message.

 

Remarks

Do not call this function during DllMain or global objects contructors. This may cause invalid return values.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Uxtheme.h

Library

UxTheme.lib

DLL

UxTheme.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft