Styles of combobox control
[ComboBox control]

Defines


Define Documentation

#define CBS_AUTOFOCUS   0x8000L

The edit field will gain the focus automatically.

Definition at line 197 of file combobox.h.

#define CBS_AUTOHSCROLL   0x0040L

This style is reserved.

Definition at line 142 of file combobox.h.

#define CBS_AUTOLOOP   0x0200L

Loops the value automatically if the type of combobox is CBS_AUTOSPIN.

Definition at line 161 of file combobox.h.

#define CBS_AUTOSPIN   0x0001L

Creates AutoSpin box.

AutoSpin box has an input field with a spin button. The input field displays an integer, and you can click spin button to increase or decrease the value of the integer.

Definition at line 83 of file combobox.h.

#define CBS_DISABLENOSCROLL   0x0080L

This style is reserved.

Definition at line 149 of file combobox.h.

#define CBS_DROPDOWNLIST   0x0003L

Specifies a drop-down list box in the selection filed.

Note:
The argument dwAddData of CreateWindowEx function should be the expected height of the list box.
 int listbox_height = 100;

 CreateWindowEx (CTRL_COMBOBOX, ..., listbox_height));

Definition at line 108 of file combobox.h.

#define CBS_EDITBASELINE   0x0800L

The edit box has base line.

Definition at line 173 of file combobox.h.

#define CBS_EDITNOBORDER   0x0400L

The edit box has no border.

Definition at line 167 of file combobox.h.

#define CBS_LOWERCASE   0x4000L

The edit field is lowercase.

Definition at line 191 of file combobox.h.

#define CBS_NOTIFY   0x0008L

Notifies the parent window.

Causes the combo box to notify the parent window with a notification message.

Definition at line 123 of file combobox.h.

#define CBS_READONLY   0x1000L

The edit field is read-only.

Definition at line 179 of file combobox.h.

#define CBS_SIMPLE   0x0000L

Displays the list box at all times.

The current selection in the list box is displayed in the edit control.

Note:
The argument dwAddData of CreateWindowEx function should be the expected height of the list box.
 int listbox_height = 100;

 CreateWindowEx (CTRL_COMBOBOX, ..., listbox_height);

Definition at line 73 of file combobox.h.

#define CBS_SORT   0x0100L

Automatically sorts strings entered in the list box.

Definition at line 155 of file combobox.h.

#define CBS_SPINARROW_LEFTRIGHT   0x0020L

The spin arrow.

Definition at line 135 of file combobox.h.

#define CBS_SPINARROW_TOPBOTTOM   0x0010L

The spin arrow.

Definition at line 129 of file combobox.h.

#define CBS_SPINLIST   0x0002L

Creates SpinList box.

SpinList box has an input field with a spin button. The input field displays some text, and you can click spin button to change the text. The candidate text string comes from the strings you add to the box.

Definition at line 93 of file combobox.h.

#define CBS_TYPEMASK   0x0007L

The type mask of style of combobox.

Definition at line 114 of file combobox.h.

#define CBS_UPPERCASE   0x2000L

The edit field is uppercase.

Definition at line 185 of file combobox.h.

Generated on Thu Apr 7 15:55:33 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3