COMBOBOX Control

This resource-definition statement creates a combo box control.

Syntax

COMBOBOX id, x, y, width, height [[, style [[, extended-style]]]]

Parameters

style

Specifies the control styles. This value can be a combination of the COMBOBOX class styles and any of the following styles: WS_TABSTOP, WS_GROUP, WS_VSCROLL, and WS_DISABLED.

If you do not specify a style, the default style is CBS_SIMPLE | WS_TABSTOP.

Remarks

For more information about styles, see CONTROL.

Example

The following code example shows how to create a combo-box control with a vertical scroll bar.

COMBOBOX 777, 10, 10, 50, 54, CBS_SIMPLE | WS_VSCROLL | WS_TABSTOP 
 

See Also

CONTROL