Sign in to follow this  
Followers 0
magician13134

Maximize button not maximize?

8 posts in this topic

Is there anyway to make the maximize button not maximize the window? I mean, I know I can use $GUI_EVENT_MAXIMIZE, but that maximizes the window, then runs the function... is there anyway to make it run the function without maximizing the window? Thanks.

Share this post


Link to post
Share on other sites



Is there anyway to make the maximize button not maximize the window? I mean, I know I can use $GUI_EVENT_MAXIMIZE, but that maximizes the window, then runs the function... is there anyway to make it run the function without maximizing the window? Thanks.

Don't add it?

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Don't add it?

No, I want the maximize button, but I don't want it to maximize the window... I want it to change the window size, but not to fullscreen, and right now, it changes to fullscreen, then resizes, which is very annoying...

Share this post


Link to post
Share on other sites

No, I want the maximize button, but I don't want it to maximize the window... I want it to change the window size, but not to fullscreen, and right now, it changes to fullscreen, then resizes, which is very annoying...

use style

when you use KD to make a GUI interface,you can use windows style to set nomax button or no minbutton ,exitbutton.good luck


One is never too old to learn

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Opt("GUIEventOptions", 1)

Change special event behavior or GUI function return values.

0 = (default) Windows behavior on click on Minimize,Restore, Maximize, Resize.

1 = suppress windows behavior on minimize, restoreor maximize click button or window resize. Just send the notification.

EDIT : That last sentence is pretty messy :whistle: Edited by Helge

Share this post


Link to post
Share on other sites

Opt("GUIEventOptions", 1)

EDIT : That last sentence is pretty messy :whistle:

AHAAHA

why to say that


One is never too old to learn

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

why to say that

I was talking about the text that I quoted from the helpfile and nothing from your post.

Why I did that ? Well, because it's messy and contains typos, making it very confusing.

Edited by Helge

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