Creating a Combo Box

A combo box is a control that combines a list box with an edit control. Selecting an item in the list box displays the selected text in the edit control. If the combo box style accepts keyboard input, typing characters into the edit control highlights the first list box item that matches the characters typed. A combo box can appear either in a dialog box or on the command bar.

    To create a combo control in a dialog box

To create a command bar combo box and insert it into a command bar, use the CommandBar_InsertComboBox function. The following screen shot shows a combo box.