Revy
28-01-2009 14:50:16
Hi again!
I'm sorry but I have another problem with another window.
I have a window which appears when I press space bar (I did it with keyPressed method in my FrameListener). I also have a close button in this window:
In my hideWindowImage method I only have "winImage[0]->hide();"
My problem is that when I press my close button, the window disapears but is shown again after a very little moment...
This very strange because I have another window with a close button which works perfectly now :/
Any idea please?
I'm sorry but I have another problem with another window.
I have a window which appears when I press space bar (I did it with keyPressed method in my FrameListener). I also have a close button in this window:
winImage = MyGUI::LayoutManager::getInstance().load("winImage.layout");
// set callback
MyGUI::ButtonPtr buttonImageClose = mGUI->findWidget<MyGUI::Button>("buttonImageClose");
buttonImageClose->eventMouseButtonClick = MyGUI::newDelegate(this, &VortexFrameListener::hideWindowImage);
In my hideWindowImage method I only have "winImage[0]->hide();"
My problem is that when I press my close button, the window disapears but is shown again after a very little moment...
This very strange because I have another window with a close button which works perfectly now :/
Any idea please?