Command Prompt for Windows




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_idSpecifies the identifier of the dialog box that contains the combo box.
idSpecifies the identifier of the combo box.
indexSpecifies the index to insert the string into.
stringSpecifies 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.