Jump to content

Recommended Posts

Posted

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? :whistle:

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

Posted

Crap I pasted it to the wrong location. Sorry :whistle:

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 B)

red

Posted (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? :whistle:

Edited by Chris_1013
Posted

Doh B) 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. :whistle: )

red

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...