Jump to content
Sign in to follow this  

resizeable window

Recommended Posts


Probably been asked 1000 times, but i did a search for it, and couldent manage to find anything. Is there any way to make an Au3 window resizeable so that when its open while the application is running the window can be resized, furthermore objects inside the window?

Ooo Ëxçã¿îbúr ooO"Information Is Not Knowledge." ~Albert Einstein

Share this post

Link to post
Share on other sites


If your meaning for the window to be resized by the program adding controls and resizing the window on the fly then you could look into WinGetPos(), WinMove(), GUICtrlSetResizing() and Opt("GUICoordMode") functions and options.

With a bit of effort these will give you the ability to dynamically resize the window on the fly as controls are added.

If your meaning that user is to be able to resize the window as needed then maybe have a look into GUI Control Styles in the help file appendix and GUICtrlSetResizing(). This is a good way to get the gui to resize the way a user wants and keeping the controls in position in the gui.


Share this post

Link to post
Share on other sites

#include <GUIConstants.au3>

GUISetState (@SW_SHOW) 

While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop


for controls use GUICtrlSetResizing() as has been said above

Edited by Zedna

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