class TabDlg : public TopWindow
TabDlg is a class intended to simplify creation of standard multi-tabbed dialogs - dialogs with at most 4 predefined buttons and TabCtrl.
TabCtrl tabctrl
TabCtrl used in dialog. Presented in interface to allow modification of properties.
Button ok
Button cancel
Button exit
Button apply
Dialog buttons. Presented in interface to allow modification of properties.
template <class T> TabCtrl::Item& Add(T& tab, const char *text)
template <class T> TabCtrl::Item& Add(T& tab, const Image& img, const char *name)
Adds tab dialog pane to the TabCtrl tab named text, optionally with img. The size of dialog window is determined by calling GetRect() for individual tabs (note that CtrlLayout functions set this to the designed size).
template <class T> TabDlg& operator()(T& tab, const char *text)
template <class T> TabDlg& operator()(T& tab, const Image& img, const char *txt)
Operator versions of Add for more compact code.
TabDlg& OK()
TabDlg& Cancel()
TabDlg& OKCancel()
TabDlg& Exit()
TabDlg& Apply()
These methods add buttons to dialog.
|