Sign in to follow this  
Followers 0
VicTT

Easy GUI questions

4 posts in this topic

How do I set the foreground color of a window created by GUICreate, and how do I make the title of the window centered?Thank you in advance :D


[quote]Together we might liveDivided we must fall[/quote]

Share this post


Link to post
Share on other sites



Hmmm..I might have figured out a work-around for the second part...But I still need a GUI guru's help...How do I surpress the default buttons (minimize, maximize, close) in the upper-right of the window?I read about it, but I thought these are forced styles?How do I disable them?


[quote]Together we might liveDivided we must fall[/quote]

Share this post


Link to post
Share on other sites

#include <GUIConstants.au3>
; == GUI generated with Koda ==);
$Form1 = GUICreate("AForm1", 622, 441, 192, 125, BitOR($WS_DLGFRAME,$WS_CLIPSIBLINGS), 0)
GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
    ;;;;;;;
    EndSelect
WEnd



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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