Jump to content
Sign in to follow this  
DODODO

Making a resizable GUI

Recommended Posts

DODODO

OK, i'm new to AutoIt so please accept these noob questions...

I'm using this line to create my GUI but the maximise button is disabled at the top right.  What change do I make so that the form can be maximised and also sized as to the user's wishes?


$hGUI = GUICreate("Main", 600, 600, 0, 0)

Share this post


Link to post
Share on other sites
SlackerAl

Look at the help page for GUICreate look at style, follow the link to the appendix for the values you want.


Problem solving step 1: Write a simple, self-contained, running, replicator of your problem.

Share this post


Link to post
Share on other sites
DODODO

Perfect!  Thanks.

 

$hGUI = GUICreate("Main", 600, 600, 0, 0, $WS_MINIMIZEBOX + $WS_MAXIMIZEBOX)

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.