AUTO3STATE control

Defines an automatic three-state check box. The control is an open box with the given text positioned to the right of the box. When chosen, the box automatically advances between three states: checked, unchecked, and disabled (grayed). The control sends a message to its parent whenever the user chooses the control.

AUTO3STATE text, id, x, y, width, height [, style [, extended-style]]

style

Styles for the control, which can be a combination of the BS_AUTO3STATE style and the following styles: WS_TABSTOP, WS_DISABLED, and WS_GROUP.

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

For more information about the general syntax of a control statement, see Common Control Parameters.

See also

AUTOCHECKBOX

Check Boxes

CHECKBOX

CONTROL

STATE3

Window Styles