Moin,
[autoit]
$classes = WinGetClassList("[CLASS:AutoIt v3 GUI;TITLE:ModMan]") ; ???
$struct = DllStructCreate("dword") ; COLORREF = BGR !!!
$struct2 = DllStructCreate("wstr")
DllStructSetData($struct2, 1, $classes)
$htheme = DllCall("uxtheme.dll", "none", "OpenThemeData", "hwnd", $gui, "ptr", DllStructGetPtr($struct2))
$color = DllCall("uxtheme.dll", "int", "GetThemeColor", _
"ptr", $htheme, _
"int", "TABP_BODY", _ ; ???
"int", "", _ ; ???
"int", "TMT_COLOR") ; ???
DllCall("uxtheme.dll", "none", "CloseThemeData", "ptr", $htheme)
Du brauchst die Klassennamen des Tab-Steuerelements ...
Du brauchst die Werte für TABP_BODY und TMT_COLOR ...
Gruß
Greenhorn