ComboBox
The ComboBox class defines a class of combobox control.
Control.h
| Name | Brief | Example |
|---|---|---|
| AddString | Add a string to string list in ComboBox. | Examples |
| FindString | Finds, but doesn't select, the first string that contains the specified prefix in the list box of a combo box. | Examples |
| FindStringExact | Find the first list-box string (in a combo box) that matches the string specified in lpszFind. | Examples |
| ComboBox | Default constructor. | |
| DeleteString | Delete a string from string list in ComboBox. | Examples |
| GetCount | Get the number of items in string list. | Examples |
| GetCurSel | Get the current selection by index. | Examples |
| GetItemData | Get the numeric type data by index. | Examples |
| GetLBText | Get the current selected string by index. | Examples |
| InsertString | Insert one string to ComboBox. | Examples |
| ResetContent | Remove all contents. | |
| SelectString | To select item by string. | Examples |
| SetCurSel | To select by string. | |
| SetItemData | To select by data. | Examples |
| FindItemData | To find the item with given data. | Examples |