AUTOCHECKBOX Control

This resource-definition statement creates an automatic check box control that displays an X when the user chooses the control. The control then sends a message to its parent window.

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.

Remarks

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

See Also

AUTO3STATE, CHECKBOX, CONTROL, STATE3