Conflicting windows ?

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
MandM
Just popping in
Just popping in
Posts: 13
Joined: Mon Nov 21, 2005 11:17
Location: Egypt
Contact:

Conflicting windows ?

Postby MandM » Sun Dec 18, 2005 14:11

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 ?

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: Conflicting windows ?

Postby lindquist » Mon Dec 19, 2005 00:59

have you tried Window::hide ?

User avatar
MandM
Just popping in
Just popping in
Posts: 13
Joined: Mon Nov 21, 2005 11:17
Location: Egypt
Contact:

Re: Conflicting windows ?

Postby MandM » Mon Dec 19, 2005 04:11

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.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 1 guest