Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Styles of combobox control
[ComboBox control]

Defines


Define Documentation

#define CBS_AUTOFOCUS   0x8000L
 

The edit field will gain the focus automatically.

Definition at line 183 of file combobox.h.

#define CBS_AUTOLOOP   0x0200L
 

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

Definition at line 147 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 80 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 105 of file combobox.h.

#define CBS_EDITBASELINE   0x0800L
 

The edit box has base line.

Definition at line 159 of file combobox.h.

#define CBS_EDITNOBORDER   0x0400L
 

The edit box has no border.

Definition at line 153 of file combobox.h.

#define CBS_LOWERCASE   0x4000L
 

The edit field is lowercase.

Definition at line 177 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 120 of file combobox.h.

#define CBS_READONLY   0x1000L
 

The edit field is read-only.

Definition at line 165 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 70 of file combobox.h.

#define CBS_SORT   0x0100L
 

Automatically sorts strings entered in the list box.

Definition at line 141 of file combobox.h.

#define CBS_SPINARROW_LEFTRIGHT   0x0020L
 

The spin arrow.

Definition at line 132 of file combobox.h.

#define CBS_SPINARROW_TOPBOTTOM   0x0010L
 

The spin arrow.

Definition at line 126 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 90 of file combobox.h.

#define CBS_TYPEMASK   0x0007L
 

The type mask of style of combobox.

Definition at line 111 of file combobox.h.

#define CBS_UPPERCASE   0x2000L
 

The edit field is uppercase.

Definition at line 171 of file combobox.h.


Generated on Mon Jun 26 13:54:28 2006 for MiniGUI V1.6.9 API Reference by  doxygen 1.4.2