KillerSam Posted January 28, 2007 Posted January 28, 2007 (edited) This is realy hard to explain but.A lot of windows have faint lines usualy in an oval shape that link related items, it will place them into a "box", and there will usually be a title that will interupt the top line of this box.I have attempted to add an image to show what I mean. You should be able to see the way the window is divided into sections, this is what I want.Could somebody please give me a nudge in the right direction towards creating these?Also there are like divisions and lines (commonly above "next and back" buttons on an install for example, or between text and an image on the left in install windows (commonly).Hope I have explained enough.Thanks, Edited January 28, 2007 by KillerSam
KillerSam Posted January 28, 2007 Author Posted January 28, 2007 Ahh! Create group! I would still like to know how to do lines though
Helge Posted January 28, 2007 Posted January 28, 2007 Maybe GUICtrlCreateLabel with style set to $SS_ETCHEDHORZ or $SS_ETCHEDVERT ?
Zedna Posted January 28, 2007 Posted January 28, 2007 Label with style: $SS_SUNKEN and height 2 pixels #include <GUIConstants.au3> $Form1 = GUICreate("Form1", 633, 454, 193, 115) $Label1 = GUICtrlCreateLabel("Label1", 72, 40, 347, 2, $SS_SUNKEN) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Resources UDF ResourcesEx UDF AutoIt Forum Search
BigDod Posted January 29, 2007 Posted January 29, 2007 Play with Koda #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("AForm1", 633, 447, 193, 115) $Checkbox1 = GUICtrlCreateCheckbox("ACheckbox1", 40, 24, 17, 17) $Input1 = GUICtrlCreateInput("AInput1", 40, 56, 113, 21) $Group1 = GUICtrlCreateGroup("Nicknames", 16, 8, 417, 89) GUICtrlCreateGroup("", -99, -99, 1, 1) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### 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
Hans K Posted January 31, 2007 Posted January 31, 2007 I was trying that yesterday, worked around with lots of ---------------- which is pretty stupid. Now I know the way to do it.
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