This class represents a property sheet dialog: a tabbed dialog
for showing settings. It is optimized to show with flat tabs
on PocketPC devices.
To use this class, call PropertySheetDialog#create from your own
Create function. Then call create_buttons, and create pages, adding them to the book control.
Finally call layout_dialog.
For example:
bool MyPropertySheetDialog::Create(…) { if (!PropertySheetDialog::Create(…)) return false; CreateButtons(OK|CANCEL|HELP); // Add page Panel* panel = new Panel(GetBookCtrl(), …); GetBookCtrl()→AddPage(panel, T(“General”)); LayoutDialog(); return true; }If necessary, override CreateBookCtrl and AddBookCtrl to create and add a different
kind of book control. You would then need to use two-step construction for the dialog.
Constructor.
Override this if you wish to add the book control in a way different from the
standard way (for example, using different spacing).
Call this from your own Create function, before adding buttons and pages.
Override this if you wish to create a different kind of book control; by default, a Notebook
is created.
Call this to create the buttons for the dialog. This calls Dialog#create_button_sizer, and
the flags are the same. On PocketPC, no buttons are created.
Returns the book control that will contain your settings pages.
Returns the inner sizer that contains the book control and button sizer.
Call this to lay out the dialog. On PocketPC, this does nothing, since the dialog will be shown
full-screen, and the layout will be done when the dialog receives a size event.
Sets the book control used for the dialog. You will normally not need to use this.
Sets the inner sizer that contains the book control and button sizer. You will normally not need to use this.
[This page automatically generated from the Textile source at 2023-06-09 00:45:27 +0000]