By default a dlgGroup contains a dlgVBoxLayout, so a simple group doesn't have to worry about the layout.
dlgGroup is mainly used to contain a set of radio buttons
or check boxes, but may as well contain any other objects in its
statement.
Radio buttons within a dlgGroup are numbered starting with 0.
Example
int align = 1; dlgGroup("Alignment") { dlgRadioButton("&Top", align); dlgRadioButton("&Center", align); dlgRadioButton("&Bottom", align); }
Index | Copyright © 2005 CadSoft Computer GmbH |