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 code | Description |
|---|---|
|
The application has a visual style applied. |
|
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 |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 10/27/2012