AUTOCHECKBOX control

Defines an automatic check box control. The control is a small rectangle (check box) that has the specified text displayed next to it (typically, to the right). When the user chooses the control, the control highlights the rectangle and sends a message to its parent window.

The AUTOCHECKBOX statement can only be used in the body of a DIALOG or DIALOGEX statement.

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

style

Styles of the control. This value can be a combination of the button class style BS_AUTOCHECKBOX and the WS_TABSTOP and WS_GROUP styles.

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

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

See also

AUTO3STATE

Button Styles

CHECKBOX

CONTROL

STATE3