Carbon


Checkbox Value Constants

Header: Controls.h

enum {
    kControlCheckboxUncheckedValue = 0,
    kControlCheckboxCheckedValue = 1,
    kControlCheckboxMixedValue = 2
};

Constant descriptions

kControlCheckboxUncheckedValue

The checkbox is unchecked.

kControlCheckboxCheckedValue

The checkbox is checked.

kControlCheckboxMixedValue

Mixed value. Indicates that a setting is on for some elements in a selection and off for others. This state only applies to standard Appearance-compliant checkboxes.

The checkbox value constants specify the value of a standard checkbox control and are passed in the newValue parameter of SetControlValue and are returned by GetControlValue.

VERSION NOTES

The checkbox value constants are changed with Appearance Manager 1.0 to support mixed-value checkboxes.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)