class EditDialog : public TopWindow { Button b; void DoClose() { Close(); } public : typedef EditDialog CLASSNAME; EditDialog() { SetRect(0, 0, 200, 50); Title("Eintrag editieren"); Add(b.SetLabel("Close EditDialog").SizePos()); b <<= THISBACK(DoClose); } };
EditDialog createDlg; EditDialog editDlg;
EditDialog newDlg(String Title);
Report message to a moderator