Sign in to follow this  
Followers 0
DODODO

Making a resizable GUI

3 posts in this topic

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



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

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  
Followers 0