COMBOBOX
COMBOBOX [id] { [Flags] CHILDS { [Child 1] [Child 2] ... } }
Combo boxes let the user choose among several items in a popup menu.
The combo box items are listed within the
CHILDS
group (note the spelling!). Each child should be formatted like this:
id, stringidentifier;
Where
id
is either a number or an enum from
c4d_symbols.h
,
stringidentifier
is an identifier from the string resource file that belongs to the dialog.
使用
GeDialog::SetInt32()
and
GeDialog::GetInt32()
to access the current selection.
见 Dialog Resource for a description of the common flags.
[LAYOUTFLAGS] | Layout flags. |
[SIZE] | Manual size. |
COMBOBOX IDC_COMBO { SCALE_H; CHILDS { FIRST_CHILD_ID, FIRST_CHILD_TEXT; SECOND_CHILD_ID, SECOND_CHILD_TEXT; } }