IsAppThemed function

Reports whether the current application's user interface displays using visual styles.


void IsAppThemed(



This function has no parameters.

Return Value

Type: BOOL

Returns one of the following values.

Return code Description
The application has a visual style applied.
The application does not have a visual style applied.


Prior to Windows 8, a visual style can be turned off in Control Panel, so that an application can support visual styles but not have a visual style applied at a given time.

In Windows 8, it is not possible to turn off visual styles.

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


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header uxtheme.h
Library UxTheme.lib
DLL UxTheme.dll (version 1.0 or later)