Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

PATHDocumentation > Mac OS 8 and 9 > Human Interface Toolbox > Control Manager >

Mac OS 8 Control Manager Reference


Checkbox Value Constants

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 . The checkbox value constants are changed with Appearance Manager 1.0 to support mixed-value checkboxes.

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.

\xA9 1998 Apple Computer, Inc. – (Last Updated 19 Nov 98)