IsThemeActive Function


This is preliminary documentation and is subject to change.

Tests if a theme is active.

Syntax

BOOL IsThemeActive(VOID);

Return Value

One of the following:

TRUEA theme is enabled and theme-aware windows should call OpenThemeData to start using theme drawing services.
FALSEA theme is not enables and the window will not make another call to IsThemeActive until it receives a WM_THEMECHANGED message.

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.