Command CBINSERT
Function:
Insert a string at a specified locating in the list box of a combo box.
Syntax:
CBINSERT dlg_id id index "string"
| dlg_id | Specifies the identifier of the dialog box that contains the combo box. |
| id | Specifies the identifier of the combo box. |
| index | Specifies the index to insert the string into. |
| string | Specifies a sequence of characters to insert into the list box of a combo box. |
Note:
- Indexes are zero based, that is, the first string in the list box of a combo box is at index 0, the second string is at index 1 and so on.
- Unlike command CBADD, command CBINSERT does not cause a list with a Sort style to be sorted.
- Also see command CBADD and CBDELETE.
|