gcue Posted May 8, 2008 Share Posted May 8, 2008 (edited) trying to create a tiny child window (large enough for 5 characters user input) that doesnt have a minimize/max/close bar id like to also be able to add an OK to it is this possible? Edited May 8, 2008 by gcue Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 8, 2008 Moderators Share Posted May 8, 2008 trying to create a tiny child window (large enough for 5 characters user input) that doesnt have a minimize/max/close barid like to also be able to add an OK to itis this possible?5 characters and you want an "Ok" button to it? Really, why don't you start doing some of your own research and testing before posting here for everyone to answer your medial questions. It makes me sick to see how long you've been a member and can't even test code first. 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...
NELyon Posted May 8, 2008 Share Posted May 8, 2008 You kind of answered in the the title of the topic... Set the GUI style to $WS_POPUP Link to comment Share on other sites More sharing options...
gcue Posted May 9, 2008 Author Share Posted May 9, 2008 to my defense, I signed up 2004 when a friend told me about it but I didnt use autoit for 4 years.. i just started a few months ago.i've learned alot since then, and i know 4 years from now- it will be a different story.this is my first time creating a child window. i tried creating a child popup window, before getting help but it wasnt looking as pretty as i wanted, so thats why i asked the question thought there was a style i missed or nicer/faster way of creating one.5 characters and you want an "Ok" button to it? Really, why don't you start doing some of your own research and testing before posting here for everyone to answer your medial questions. It makes me sick to see how long you've been a member and can't even test code first. Link to comment Share on other sites More sharing options...
MikeP Posted May 9, 2008 Share Posted May 9, 2008 mini GUI ! #include <GUIConstants.au3> $gui = GUICreate("",55,1) GUISetState() GUISetStyle($WS_POPUP) $input = GUICtrlCreateInput("",0,5,40,16) GUICtrlSetLimit($input, 5) $btn = GUICtrlCreateButton("ok",40,5,20,18) While 1 $msg = GUIGetMsg() if $msg = $GUI_EVENT_CLOSE Then Exit Sleep(100) WEnd Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 9, 2008 Moderators Share Posted May 9, 2008 (edited) to my defense, I signed up 2004 when a friend told me about it but I didnt use autoit for 4 years.. i just started a few months ago.i've learned alot since then, and i know 4 years from now- it will be a different story.this is my first time creating a child window. i tried creating a child popup window, before getting help but it wasnt looking as pretty as i wanted, so thats why i asked the question thought there was a style i missed or nicer/faster way of creating one.When you ask a question, and as you posted above you had code already, without posting that code for others to see what may be the issue, then there is no defense.Personally, I think the majority of your questions are pure laziness and it disgust me that others take their time to answer them for you. Edited May 9, 2008 by SmOke_N 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...
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