谁用过uxtheme.dll的API函数
函数名称SetThemeAppProperties(long )
请教一下这个API函数有什么用,还有参数等
[解决办法]
Sets the flags that determine how visual styles are implemented in the calling application. (设置决定视觉样式在调用程序中如何实现的标志)
Syntax
Copy
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.
Value Meaning
STAP_ALLOW_NONCLIENT Specifies that the nonclient areas of application windows will have visual styles applied.
STAP_ALLOW_CONTROLS Specifies that the common controls used in an application will have visual styles applied.
STAP_ALLOW_WEBCONTENT Specifies that web content displayed in an application will have visual styles applied.
Return value
This function does not return a value.
Remarks
After you set the flags, you must send a WM_THEMECHANGED message for the changes to take effect.
Examples
This example combines flags and calls this function as shown.
Copy
DWORD dwFlags = (STAP_ALLOW_NONCLIENT |
STAP_ALLOW_CONTROLS | STAP_ALLOW_WEBCONTENT);
SetThemeAppProperties(dwFlags);
Requirements
Minimum supported client
Windows XP
Minimum supported server
Windows Server 2003
Header
Uxtheme.h
Library
UxTheme.lib
DLL
UxTheme.dll (version 1.0 or later