Sign in to follow this  
Followers 0
Randy

Maximizing multiple cascaded or tiled windows

3 posts in this topic

I believe the function I need to use it WinSetState but I can't figure out how to maximize one of many windows inside a single program (e.g. Word, paint, etc.) which have been cascaded or tiled. I can only maximize the "parent" window. Does anyone know how to maximize one window whose title shows up in the "Visible Window text" area in the Autoit window info page?

Share this post


Link to post
Share on other sites



Hmmm this does works nearly in an Excel document - Though I dont think its pretty

$item = ControlGetHandle("Microsoft Excel", "", "EXCEL71")

WinSetState( $item, "", @SW_MAXIMIZE)


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
Share on other sites

Hmmm this does works nearly in an Excel document - Though I dont think its pretty

$item = ControlGetHandle("Microsoft Excel", "", "EXCEL71")

WinSetState( $item, "", @SW_MAXIMIZE)

Yes thanks this does work and it's probably the most simple I can think of to do this. I guess I couldn't see how to give control to a specific window out many windows in an application, like Excel. This is great and helps me out a lot.

Thanks again.

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