Jump to content

Catch Maximize events?


fisofo
 Share

Recommended Posts

Haven't been able to find this asked yet, but is there a way to catch a maximize event from a window? Something along the lines of some GUIRegisterMsg or something?

I'm asking because someone asked me if I could capture that and interpret it to "maximize to half the screen" rather than a normal maximize to the full screen. I've actually seen this done via other window control programs (non-autoit), so i'm guessing there's a way.

thanks!

Link to comment
Share on other sites

Take a look at this:

http://msdn2.microsoft.com/en-us/library/m...hgetmessagehook

If I find something else more useful I edit the post.

EDIT: The message you want to hook is WM_SIZE.

http://msdn.microsoft.com/library/default....ges/wm_size.asp

Edited by CoePSX

[quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"][/font]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...