redndahead Posted February 26, 2004 Share Posted February 26, 2004 I need to scroll a listbox left and right. I added the scroll bars and it can scroll up and down but not left to right. I used this code Global $WS_HSCROLL = 1048576 Global $WS_VSCROLL = 2097152 Global $ES_WANTRETURN = 4096 $style = BitOR($WS_HSCROLL,$WS_VSCROLL) $style = BitOR($style, $ES_WANTRETURN) EnvSet("OBJ1.Type","List") EnvSet("OBJ1.x","5") EnvSet("OBJ1.y","35") EnvSet("OBJ1.w","170") EnvSet("OBJ1.h","100") EnvSet("OBJ1.style",$style) Any thoughts? I have one window and when the user clicks on a button I want to open another au3gui window but I don't want the user to be able to go back to the first window until the other one closes. I know it has to do with parent and child windows but me not smarty. :iamstupid: red Link to comment Share on other sites More sharing options...
redndahead Posted February 26, 2004 Author Share Posted February 26, 2004 Thanks but it doesn't seem to be working. Any thoughts? Is it working for you? red Link to comment Share on other sites More sharing options...
redndahead Posted February 26, 2004 Author Share Posted February 26, 2004 Crap I pasted it to the wrong location. Sorry Well then back to my second question how to make the second window opened to not let you toch the first one until it closes. Thanks for the help red Link to comment Share on other sites More sharing options...
Chris_1013 Posted February 26, 2004 Share Posted February 26, 2004 (edited) All you should need to do is using the following line: EnvSet("GUI.parent","title") ' title of the window that should be the (optional) parent of this GUI when setting up your second GUI. How simple do you need it? Edited February 26, 2004 by Chris_1013 Link to comment Share on other sites More sharing options...
redndahead Posted February 26, 2004 Author Share Posted February 26, 2004 Doh I was looking through the styles trying to find it. Wrong place. By the way larry thanks for adding that option. It will be really, really helpful in the future. (Translates to I changed my form so i don't need it now. ) red 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