10 lines
488 B
AutoIt
10 lines
488 B
AutoIt
#include <GUIConstantsEx.au3>
|
|
Local $h = GUICreate("T", 200, 100)
|
|
Local $b = GUICtrlCreateButton("btn", 10, 10, 100, 30)
|
|
Local $c = GUICtrlCreateCombo("", 10, 50, 100, 100)
|
|
GUISetState(@SW_SHOW, $h)
|
|
Sleep(500)
|
|
Local $tb = DllCall("uxtheme.dll", "handle", "GetWindowTheme", "hwnd", GUICtrlGetHandle($b))
|
|
Local $tc = DllCall("uxtheme.dll", "handle", "GetWindowTheme", "hwnd", GUICtrlGetHandle($c))
|
|
ConsoleWrite("button_theme=" & $tb[0] & @CRLF)
|
|
ConsoleWrite("combo_theme=" & $tc[0] & @CRLF) |