COMBOBOX Control (Windows Embedded CE 6.0)

1/6/2010

This resource-definition statement creates a combo box control.

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_DROPDOWN | WS_TABSTOP.

Remarks

For more information about styles, see CONTROL 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_DROPDOWN | WS_VSCROLL | WS_TABSTOP 

See Also

Reference

CONTROL Control

Concepts

Resource-Definition Statements