Sign in to follow this  
Followers 0
AlecSadler

How to know when a gui has been maximized?

4 posts in this topic

#1 ·  Posted

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



#2 ·  Posted

Read the help file entry for GUISetOnEvent.

Share this post


Link to post
Share on other sites

#3 ·  Posted

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

#4 ·  Posted

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