﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
30	GUICtrlSetBkColor() bug with GUICtrlCreateLabel() and GUICreate with BitOR()	atomman	WaitingUserInfo	"With every combo of BitOR() i've tried, GUICtrlSetBkColor() fails. If BitOR() is removed, GUICtrlSetBkColor() works fine. Run the code as is, color won't change. Comment out L2 and uncomment L3, it works fine. Behavior is same with GUICtrlCreateGraphic() as well, maybe others.

{{{
#include <GUIConstants.au3>
$Win_SBS = GUICreate(""SpeedBlog - Satellite"", 556, 204, -1, -1, BitOR($WS_CLIPCHILDREN,$WS_POPUP))
;$Win_SBS = GUICreate(""SpeedBlog - Satellite"", 556, 204, -1, -1)
GUISetFont(8, 400, 0, ""Arial"")
$Label1 = GUICtrlCreateLabel("""", 193, 113, 8, 15)
GUICtrlSetBkColor(-1, 0x00FF00)
$Button1 = GUICtrlCreateButton(""Button1"", 292, 80, 75, 25, 0)
GUISetState(@SW_SHOW)
While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
		Case $Button1
			GUICtrlSetBkColor($Label1, 0xFF0000)
	EndSwitch
WEnd
}}}"	Bug	closed		AutoIt	3.2.10.0		No Bug	osversion?	
