VicTT Posted June 29, 2006 Posted June 29, 2006 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 Quote Together we might liveDivided we must fall
GaryFrost Posted June 30, 2006 Posted June 30, 2006 can answer 1 part of it GUISetBkColor SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
VicTT Posted June 30, 2006 Author Posted June 30, 2006 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
BigDod Posted June 30, 2006 Posted June 30, 2006 #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 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now