﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1208	No colored flat Button possible	funkey		"Either a flat button or a colored button is possible, not both.

{{{
#include <ButtonConstants.au3>

Opt(""GUIOnEventMode"", 1)

GUICreate(""Button-Bug"", 200, 110)
GUISetOnEvent(-3, ""_Exit"")

GUICtrlCreateButton(""Flat"", 20, 20, 70, 20, $BS_FLAT)
GUICtrlSetBkColor(-1, 0xFF0000)
GUICtrlSetStyle(-1, $BS_FLAT)

GUICtrlSetOnEvent(-1, ""_ChangeBkCol"")
GUICtrlCreateButton(""Standard"", 110, 20, 70, 20)
GUICtrlSetOnEvent(-1, ""_ChangeBkCol"")

GUICtrlCreateButton(""Flat"", 20, 70, 70, 20, $BS_FLAT)
GUICtrlSetOnEvent(-1, ""_MakeDefBkCol"")
GUICtrlCreateButton(""Standard"", 110, 70, 70, 20)
GUICtrlSetOnEvent(-1, ""_MakeDefBkCol"")

GUISetState()

While 1
	Sleep(100000)
WEnd

Func _ChangeBkCol()
	GUICtrlSetBkColor(@GUI_CtrlId, 0x00FF00)
EndFunc

Func _MakeDefBkCol()
	GUICtrlSetBkColor(@GUI_CtrlId, Default)
EndFunc

Func _Exit()
	Exit
EndFunc
}}}"	Bug	closed		AutoIt	3.3.0.0	None	No Bug		
