xq1xq1xq1 Posted March 5, 2008 Share Posted March 5, 2008 Is there any command (I have not found one yet) to put a horizontal dividing line on a GUI? The only method I have found is to use: GuiCtrlCreateGroup("", 0, 410, 450, 2) which works but I am thinking there should be a better way. Thanx alot! Link to comment Share on other sites More sharing options...
BigDod Posted March 5, 2008 Share Posted March 5, 2008 #include <GUIConstants.au3> $Form1 = GUICreate("Form1", 633, 454, 193, 115) $Graphic1 = GUICtrlCreateGraphic(56, 136, 473, 9) GUICtrlSetGraphic(-1,$GUI_GR_LINE,473,0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch 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 Link to comment Share on other sites More sharing options...
LIMITER Posted March 5, 2008 Share Posted March 5, 2008 (edited) Cool , but can you put one in a MsgBox ? Edited March 5, 2008 by LIMITER Link to comment Share on other sites More sharing options...
BigDod Posted March 5, 2008 Share Posted March 5, 2008 Cool , but can you put one in a MsgBox ?If you make your own MsgBox 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 Link to comment Share on other sites More sharing options...
LIMITER Posted March 5, 2008 Share Posted March 5, 2008 Well ... That's not what i was expecting ) Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 5, 2008 Moderators Share Posted March 5, 2008 Well ... That's not what i was expecting )The answer is ... Yes you can... Might as well look up SetPixel, and get ready to learn how to use /AutoIt3ExecuteScript.In other words, it's easier just to make your own GUI. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
LIMITER Posted March 5, 2008 Share Posted March 5, 2008 I realised that Thx ! Link to comment Share on other sites More sharing options...
Uriziel01 Posted March 5, 2008 Share Posted March 5, 2008 (edited) Sory for OffTop The answer is ... Yes you can... Might as well look up SetPixel, and get ready to learn how to use /AutoIt3ExecuteScript. In other words, it's easier just to make your own GUI. or just use MsgBox(0, "Test", "This box will time out in 10 seconds"&@CRLF&"---------------------------------------"&@CRLF&"And the second line;P"&@CRLF&"---------------------------------------"&@CRLF&"They ARE separated;)",10) The look like separated, hehe Edited March 5, 2008 by Uriziel01 Link to comment Share on other sites More sharing options...
xq1xq1xq1 Posted March 5, 2008 Author Share Posted March 5, 2008 Thanx everyone - works great! How does one close an item on the Forum? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 5, 2008 Moderators Share Posted March 5, 2008 Thanx everyone - works great!How does one close an item on the Forum?We leave them open for others to learn and comment on. The only time a thread gets closed is when a Dev/Mod thinks it should be. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
xq1xq1xq1 Posted March 6, 2008 Author Share Posted March 6, 2008 We leave them open for others to learn and comment on. The only time a thread gets closed is when a Dev/Mod thinks it should be.Cool Link to comment Share on other sites More sharing options...
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