Jump to content

How Can I Toggle A Hidden Window?


fly
 Share

Recommended Posts

WinSetState ( "title", "text", @SW_HIDE ) to hide

WinSetState ( "title", "text", @SW_SHOW ) to show

Put each under a button or toggle the button show or hide depending on it's current state.

Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Link to comment
Share on other sites

WinSetState ( "title", "text", @SW_HIDE ) to hide

WinSetState ( "title", "text", @SW_SHOW ) to show

Put each under a button or toggle the button show or hide depending on it's current state.

Hmm, that doesn't seem to be working. Its a CMD.EXE window, if that makes a difference.
Link to comment
Share on other sites

Hmm, that doesn't seem to be working. Its a CMD.EXE window, if that makes a difference.

WinSetState ( "Command Prompt", "", @SW_HIDE )
WinSetState ( "Command Prompt", "", @SW_SHOW )

Works for me.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

I've made a little script to test it with and it works, but it's a little freaky to post. I'll play some more and post when it looks (and acts) ok.

Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

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