Wenn ich die Farbe des Buttons und die Hintergrundfarbe der dazu gehörigen GUI ändere, bekomme ich immer einen hässlichen blauen Rand um den Button. Dieser lässt sich nicht mit WS_Border beeinflussen, dies fügt nur noch einen zusätzlichen Rand hinzu. Wie kann den blauen Rand einfärben?
[Blockierte Grafik: http://img535.imageshack.us/img535/2420/testbutton.png]
[autoit]
#Region ### START Koda GUI section ###
$Form1 = GUICreate("Test", 434, 144, 192, 124)
GUISetBkColor(0xA0A0A4)
$Button1 = GUICtrlCreateButton("TestButton1", 104, 16, 211, 41, $WS_GROUP)
GUICtrlSetBkColor(-1, 0xB4B4B4)
[/autoit][autoit][/autoit][autoit]$Button2 = GUICtrlCreateButton("TestButton2", 104, 72, 209, 41, $WS_GROUP)
GUICtrlSetBkColor(-1, 0x808080)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd