The COMBOBOX resource-definition statement creates a combination box control (a combo box). A combo box consists of either a static text box or an edit box combined with a list box. The list box can be displayed at all times or pulled down by the user. If the combo box contains a static text box, the text box always displays the selection (if any) in the list box portion of the combo box. If it uses an edit box, the user can type in the desired selection; the list box highlights the first item (if any) that matches what the user has entered in the edit box. The user can then select the item highlighted in the list box to complete the choice. In addition, the combo box can be owner-drawn and of fixed or variable height.
COMBOBOX id, x, y, width, height [, style [, extended-style]]
If you do not specify a style, the default style is CBS_SIMPLE | WS_TABSTOP.
For more information on the text, id, x, y, width, height, style, and extended-style parameters, see Common Control Parameters.
This example creates a combo-box control with a vertical scroll bar:
COMBOBOX 777, 10, 10, 50, 54, CBS_SIMPLE | WS_VSCROLL | WS_TABSTOP