Function Reference


_WinAPI_SetThemeAppProperties

Sets the flags that determine how visual styles are implemented in the calling application

#include <WinAPITheme.au3>
_WinAPI_SetThemeAppProperties ( $iFlags )

Parameters

$iFlags This parameter can be one or more of the following values.
$STAP_ALLOW_NONCLIENT
$STAP_ALLOW_CONTROLS
$STAP_ALLOW_WEBCONTENT

Return Value

None.

Remarks

After you set the flags, you must send a WM_THEMECHANGED message for the changes to take effect.

See Also

Search SetThemeAppProperties in MSDN Library.

Example

#include <GUIConstantsEx.au3>
#include <WinAPITheme.au3>

GUICreate('Test ' & StringReplace(@ScriptName, '.au3', '()'), 310, 360)
GUICtrlCreateGroup('Group', 10, 10, 140, 95)
GUICtrlCreateCheckbox('Check1', 22, 26, 120, 23)
GUICtrlCreateCheckbox('Check2', 22, 49, 120, 23)
GUICtrlCreateCheckbox('Check3', 22, 72, 120, 23)
GUICtrlCreateGroup('Group', 160, 10, 140, 95)
GUICtrlCreateRadio('Radio1', 172, 26, 120, 23)
GUICtrlCreateRadio('Radio2', 172, 49, 120, 23)
GUICtrlCreateRadio('Radio3', 172, 72, 120, 23)
GUICtrlCreateButton('OK', 120, 330, 70, 23)
_WinAPI_SetThemeAppProperties(0)
GUICtrlCreateTab(10, 118, 292, 206)
GUICtrlCreateTabItem('Tab1')
GUICtrlCreateTabItem('Tab2')
GUICtrlCreateTabItem('')

GUISetState(@SW_SHOW)

Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE