Retrieves the property flags that control how visual styles are applied in the current application
#include <WinAPITheme.au3>
_WinAPI_GetThemeAppProperties ( )
Individual flags can be extracted from the result by combining the result with the logical
AND of the desired flag.
Suche nach GetThemeAppProperties in der MSDN Bibliothek.
#include <APIThemeConstants.au3>
#include <GUIConstantsEx.au3>
#include <WinAPITheme.au3>
Local $iTheme = _WinAPI_GetThemeAppProperties()
Local $hForm = GUICreate("WinAPI Sezt und ermittelt die Theme AppProperties (v" & @AutoItVersion & ")", 310, 360)
GUISetFont(8.5, 400, 0, 'MS Shell Dlg', $hForm)
GUICtrlCreateGroup('Gruppe', 10, 10, 140, 95)
GUICtrlCreateCheckbox('Checkbox 1', 22, 26, 120, 23)
GUICtrlCreateCheckbox('Checkbox 2', 22, 49, 120, 23)
GUICtrlCreateCheckbox('Checkbox 3', 22, 72, 120, 23)
GUICtrlCreateGroup('Gruppe', 160, 10, 140, 95)
GUICtrlCreateRadio('Radiobutton 1', 172, 26, 120, 23)
GUICtrlCreateRadio('Radiobutton 2', 172, 49, 120, 23)
GUICtrlCreateRadio('Radiobutton 3', 172, 72, 120, 23)
GUICtrlCreateButton('OK', 120, 330, 70, 23)
_WinAPI_SetThemeAppProperties($STAP_ALLOW_NONCLIENT)
GUICtrlCreateTab(10, 118, 292, 206)
GUICtrlCreateTabItem('Tab1')
GUICtrlCreateTabItem('Tab2')
GUICtrlCreateTabItem('')
_WinAPI_SetThemeAppProperties($iTheme)
GUISetState(@SW_SHOW)
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE