AUTO3STATE Control

This resource-definition statement creates an automatic three-state check box control that, when selected, automatically advances between three states: checked, unchecked, and disabled (grayed). The control then sends a message to its parent whenever the user chooses the control.

Syntax

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

Parameters

style

Specifies 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.

See Also

AUTOCHECKBOX, CHECKBOX, CONTROL, STATE3