Sign in to follow this  
Followers 0
erikson

window color

6 posts in this topic

hi

i try to change the background color of a window ( gui)

i have something like this

#region --- GuiBuilder code Start ---

; Script generated by AutoBuilder 0.6 Prototype

#include <GuiConstants.au3>

GuiCreate("MyGUI", 392, 323,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$Radio_1 = GuiCtrlCreateRadio("Radio1", 20, 40, 70, 30)

$Label_2 = GuiCtrlCreateLabel("Label2", 20, 100, 70, 50)

$Input_3 = GuiCtrlCreateInput("Input3", 20, 180, 70, 40)

$Button_4 = GuiCtrlCreateButton("Button4", 230, 150, 80, 50)

GuiSetState()

While 1

$msg = GuiGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

ExitLoop

Case Else

;;;

EndSelect

WEnd

Exit

#endregion --- GuiBuilder generated code End ---

i whant to make all window white.

can you give me a hint?

Share this post


Link to post
Share on other sites



Take a look at GUISetBkColor() in the help file.

Share this post


Link to post
Share on other sites

thx it works ..

can i change color of a button?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0