alawoona Posted April 3, 2004 Posted April 3, 2004 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
jpm Posted April 3, 2004 Posted April 3, 2004 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 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.
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