Definition | XComboBox ( XWindow* owner, XRect* rec, USHORT id, ULONG style )
XComboBox ( HWND hwnd )
XComboBox ( XWindow* owner, XRect* rec, USHORT id = 0, ULONG style = CB_DROPDOWN ¦ WIN_VISIBLE )
|
Parameters | : XWindow * theOwner The owning window.
XRect * rectangle Position and size of the combobox. You must specify
the size the combobox should have when the listbox is
shown!
USHORT ID The ID of the combobox.
Default is zero.
ULONG style The style of the window. Valid values are:
CB_SIMPLE listbox is always shown, the user
can enter text
CB_DROPDOWN listbox is activated with special
button, the user can enter text
CB_DROPDOWNLIST listbox is activated with special
button, the user cannot enter text
Default is CB_DROPDOWN.
|