AUTOCHECKBOX Control

The AUTOCHECKBOX resource-definition statement creates 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.

Syntax

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

Parameters

style
Specifies the 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 on the text, id, x, y, width, height, style, and extended-style parameters, see Common Control Parameters.

See Also

AUTO3STATE, CHECKBOX, CONTROL, STATE3