alawoona 0 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 Share this post Link to post Share on other sites
jpm 93 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. Share this post Link to post Share on other sites