Jump to content
Sign in to follow this  
AlecSadler

How to know when a gui has been maximized?

Recommended Posts

AlecSadler

Hello I have searched the help file but can't seem to find info on how to detect when the maximize button has been pressed. How do I go about detecting this?

Share this post


Link to post
Share on other sites
AlecSadler
1 hour ago, Danp2 said:

Read the help file entry for GUISetOnEvent.

Thanks, I found it!

Share this post


Link to post
Share on other sites
Malkey

Using GUIOnEventMode 0:-

To detect when the maximize button on the window title bar is pressed see GUIGetMsg function in the AutoIt help file and its example.

To detect if a window is maximized, see WinGetState function in the AutoIt help file and its example.

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  

×