﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
376	GUICtrlSetBkColor() causes button to catch enter key	amokoura	Valik	"By using GUICtrlSetBkColor() on a button causes it to catch enter key.
Steps to reproduce (Run the code):
1. Click button
2. Click input field to move the focus away from button
3. Press enter (button event happens)

If you comment out the coloring function, the button won't catch enters all by itself anymore.

{{{
#include <GUIConstants.au3>

GUICreate(""Form1"", 166, 89, 234, 191)
GUICtrlCreateInput(""Input1"", 16, 8, 121, 21)
$Button1 = GUICtrlCreateButton(""Button1"", 16, 40, 123, 25, 0)
GUISetState(@SW_SHOW)

GUICtrlSetBkColor($Button1, 0x00ff00)

While 1
	Switch GUIGetMsg()
		Case $GUI_EVENT_CLOSE
			Exit
		Case $Button1
			MsgBox(0, """", ""button triggered"")
	EndSwitch
WEnd

}}}
"	Bug	closed		AutoIt	3.2.12.0	None	Wont Fix	GUICtrlSetBkColor button color enter	
