Link to home
Start Free TrialLog in
Avatar of charlass
charlass

asked on

Hide a SIOUX app

Hi there,

I'd like to hide the output window of a SIOUX (better: GUSI-SIOUX) application.
Alternatively would a "minimize" (like clicking at the right button in the titlebar) be a good first solution.

Thank you in advance for every answer!
Bye - chris
ASKER CERTIFIED SOLUTION
Avatar of munsie
munsie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of charlass
charlass

ASKER

Adjusted points from 50 to 80
Hi,
thanks for your answer, but unfortunately your hint (check for NULL) was really necessary...
No idea why it is NULL - because of using GUSI? (PS: Creating a new project from scratch without GUSI doesn't work too => assume no GUSI problem)

So I was looking for sth. like EnumerateWindows(), to get the WindowPtr from a backdoor but had no success so far.

Any further ideas are highly appreciated!
chris
well, it you haven't called printf() or something that causes SIOUX to create the window, then it will be NULL... you might try just calling printf("\n"); before trying to hide the window.

dennis
Hi Dennis,
either you are an expert or you're guessing great ;-)

The thing is: I tried some cout<<"blabla" already before my 2nd post. After your message I added the "\n" - and then it worked!
I assume the "\n" causes internally a flush() - it causes the same effect like calling cout<<"bla" + cout.flush().

Thanks for your help!
chris