Creating a Window as Hidden, but not Hiding

rluck

30-08-2007 03:11:05

QuickGUI::Window* window = this->mSheet->createWindow(name, rect, texture); /* this works fine */
window->hide();

The window is still created as visible...the variable is not a member of the class its created in, it is inside an if statement, and the window is created fine...just not hidden.

kungfoomasta

30-08-2007 03:23:19

Are you sure you are not showing it somewhere else? Are you calling mSheet->show somewhere after that code? I may not have included a the change to not show certain child widgets. The demo creates and hides a window, so the lines you posted have been working in all versions of QuickGUI.