Partager via


Check Box Styles (Compact 2013)

3/28/2014

The following table shows the styles that are supported by Windows Embedded Compact.

Check box style

Description

BS_3STATE

Creates a check box in which the box can be unavailable as well as selected or cleared. Use the unavailable state to show that the state of the check box is not determined.

BS_AUTO3STATE

Creates a three-state check box in which the state cycles through selected, unavailable, and cleared each time the user selects the check box.

BS_AUTOCHECKBOX

Creates a check box in which the check state switches between selected and cleared each time the user selects the check box.

BS_CHECKBOX

Creates a small, empty check box with a label displayed to the right of it. To display the text to the left of the check box, combine this flag with the BS_RIGHTBUTTON style.

BS_LEFT

Left-aligns the text in the button rectangle on the right side of the check box.

BS_PUSHLIKE

Makes a button (such as a check box, three-state check box, or radio button) look and act like a push button. The button looks raised when it is not pushed or checked, and sunken when it is pushed or checked.

BS_RIGHT

Right-aligns text in the button rectangle on the right side of the check box.

BS_RIGHTBUTTON

Positions a check box square on the right side of the button rectangle.

WS_TABSTOP

Turns the control into a tab stop, which enables the user to select the control by tabbing through the controls in a dialog box.

See Also

Reference

Control Styles
Window and Message Box Styles