Syntax:
AUTOCHECKBOX text, id, x, y, width, height[, style]
The AUTOCHECKBOX statement creates an automatic-check-box control. The control is a small rectangle (check box) that contains an X when the user selects it. The specified text is displayed to the right of the check box. An X appears in the square when the user first selects the control and disappears the next time the user selects it. The AUTOCHECKBOX statement, which you can use only in a DIALOG or WINDOW statement, defines the text, identifier, dimensions, and attributes of a control window. The predefined class for this control is WC_BUTTON. If you do not specify the style, the default style is BS_AUTOCHECKBOX and WS_TABSTOP.
text
Example
This example creates an automatic-check-box control that is labeled "Italic."
AUTOCHECKBOX "Italic", 101, 10, 10, 100, 100