WithPopupLayout<TopWindow> popup; CtrlLayout(popup, t_("Translation")); popup.entryShow.SetData("Some String"); //an edit control popup.CenterScreen(); popup.RunAppModal();
Report message to a moderator
struct TopWindowEsc : TopWindow { virtual bool Key(...) { if(key == K_ESC) { Close(); return true; } } } WithPopupLayout<TopWindowEsc> popup;
[Updated on: Mon, 09 February 2009 15:47]