Hey Mohammed, 2012/1/14 Mohammed Rashad <mohammedrasha...@gmail.com>: > > i am using layout (grid,hbox,vbox) and all the widgets are placed in it. I > want a popup window which is a widget > i created the widget > popup = new WContainerWidget(); > popup->setPopup(true); > popup->show(); > > > but its not showing. why?
You still need to add the widget to some parent. But you usually take it out of the flow by giving it a position: absolute CSS style (see als setPositionScheme()). Regards, koen ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest