Page 1 of 1

Conflicting windows ?

Posted: Sun Dec 18, 2005 14:11
by MandM
I have 2 StaticImage widgets that are supposed to be showing in the same area. One is about the a 5th of the screen and is basicly a window with several child StaticText windows (debug purposes)and the other is a much smaller Image which is used as a Logo.

I've provided keyboard keys to show/hide them at runtime, but they're not working properly. For some wierd reason the debug menu (the big StaticImage) never hides until I show the logo. Then the show/hide works perfectly w/o any hitches. But then the logo never hides until i show the debug menu.

Both StaticImage's were childs of the Root Window. I tried making the logo a child of the debug menu but nothing different happened. I tried setting one to be alwaysontop but not much happened either. I tried moveToFront() & moveToBack() thinking perhaps it was a Z order conflict. Same problems still :/

Any ideas on whats wrong ?

Re: Conflicting windows ?

Posted: Mon Dec 19, 2005 00:59
by lindquist
have you tried Window::hide ?

Re: Conflicting windows ?

Posted: Mon Dec 19, 2005 04:11
by MandM
yes, thats what I am using. Its activated on keypresses and apparently its not doing much unless the logo is shown, or the menu is hidden or ..... its a mess really, I'm not sure why its doing that.

I tried using Window::setVisible(true/false) but that gave the same results.