SetThemeAppProperties function (uxtheme.h)
Sets the flags that determine how visual styles are implemented in the calling application.
Syntax
void SetThemeAppProperties(
DWORD dwFlags
);
Parameters
dwFlags
Type: DWORD
DWORD that specifies one or more of the following bit flags, which can be combined with a logical OR.
Return value
None
Remarks
After you set the flags, send a WM_THEMECHANGED message to your application's main window for the changes to take effect.
Examples
This example combines flags and calls this function as shown.
DWORD dwFlags = (STAP_ALLOW_NONCLIENT |
STAP_ALLOW_CONTROLS | STAP_ALLOW_WEBCONTENT);
SetThemeAppProperties(dwFlags);
Requirements
Requirement | Value |
---|---|
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) |