Sign in to follow this  
Followers 0
autoitquestion

Return window status to Normal

5 posts in this topic

#1 ·  Posted (edited)

Hi,

I have external GUI which after I click on button related for this GUI, I need return GUI to normal view (means, this gui have 3 statues views-normal, maximaized, minimaized)

How can I do it?

thanks a lot!

Edited by autoitquestion

Share this post


Link to post
Share on other sites



Try WinsetState ( '', '', @SW_RESTORE ) Posted Image


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

Thx a lot!

Now, it return to normal, BUT I also wish it will be maximaized and then I did:

Sleep(100)

WinsetState ( '', '', @SW_MAXIMIZE )

I also try do:

WinsetState ( '', '', @SW_MAXIMIZE )

WinActivate("[CLASS:WindowsForms10.window.8.app.0.378734a]", "")

But, it did not help...

Any other suggestion?

Share this post


Link to post
Share on other sites
WinsetState need title and text !

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

WinsetState need title and text !

Actually, text is optional. even though it's not explicitly stated in the Help file, it is shown in the example code.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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