Jump to content

Maximizing multiple cascaded or tiled windows


Randy
 Share

Recommended Posts

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?

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

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...