Export (0) Print
Expand All
Expand Minimize

IsAppThemed function

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

Syntax


BOOL IsAppThemed(void);

Parameters

This function has no parameters.

Return value

Type: BOOL

Returns one of the following values.

Return codeDescription
TRUE

The application has a visual style applied.

FALSE

The application does not have a visual style applied.

 

Remarks

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 in Windows Vista and may cause Windows XP to become unstable.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Uxtheme.h

Library

UxTheme.lib

DLL

UxTheme.dll (version 1.0 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft