﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
182	Add GUISetColor() by analogue of GUISetFont()	MsCreatoR <mscreator@…>	Jpm	"GUISetFont cover all controls that will be created and set Font for them, i believe we need the same but with the Color.


'''Syntax:'''

GUISetColor(textcolor[, winhandle])



'''Example:'''


{{{
#include <GuiConstants.au3>

Global $GUI_BK_COLOR = 0x000000 ;This value changes via IniRead

GUICreate(""Test Script"")

GUISetBkColor($GUI_BK_COLOR)
GUISetColor(0x000000)
If $GUI_BK_COLOR = 0x000000 Then GUISetColor(0xFFFFFF) ;to adapt the controls color to the window color

GUICtrlCreateLabel(""Some text"", 20, 40)

GUISetState(@SW_SHOW)

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
	EndSwitch
WEnd
}}}





'''Purpose:'''

We creating the gui and set the Background, but now we need to create ''a lot'' of controls, they needs to be adapdet to the background color of the window. This function will avoid the need to set color for every control.

Thanks!"	Feature Request	closed	3.2.11.5	AutoIt		None	Completed	Color GUI Set	
