Hi nev7n, On Dec 19, 2007 8:41 PM, nev7n <[EMAIL PROTECTED]> wrote: > Hi Patrick, > this is the code I use to change cegui layouts: > winMgr->destroyAllWindows(); > > // Load layout and set as root > cegui->GetSystemPtr()->setGUISheet(winMgr->loadWindowLayout( > "menu.layout"));
Thanks for that, I figured this out a few days ago. This is practically the same as destroying the root window, which is what I'm doing now. But I like your approach better. Thanks a lot. Patrick ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Crystal-main mailing list Crystal-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]