Sign in to follow this  
Followers 0
alawoona

Help - Stop Controls Moving On Resize

3 posts in this topic

Have a script that uses autoit-gui. The window is resized using WinMove and I do not want my controls to move with resizing. I have used GUISetControlEx ( controlref, "", $GUI_DOCKSIZE ) but the control still moves over to the left of the window when the window width is increased. How can I stop this :whistle:

Share this post


Link to post
Share on other sites



Have a script that uses autoit-gui. The window is resized using WinMove and I do not want my controls to move with resizing. I have used GUISetControlEx ( controlref, "", $GUI_DOCKSIZE ) but the control still moves over to the left of the window when the window width is increased. How can I stop this    B)

The best is to have the Guibox not resizable.

If you say GUI_DOCKSIZE that just give information on size not on position.

So you need to add where you want to dock your control.

For instance GUI_DOCKTOP+ GUIDOCKLEFT will keep your control at the same X,Y that you use when you create it.

:whistle:

Share this post


Link to post
Share on other sites

Fixed - thanx

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0