Carbon


Radio Button Value Constants

Header: ControlDefinitions.h

enum {
    kControlRadioButtonUncheckedValue = ,
    kControlRadioButtonCheckedValue = 1,
    kControlRadioButtonMixedValue = 2
};

Constant descriptions

kControlRadioButtonUncheckedValue

The radio button is unselected.

kControlRadioButtonCheckedValue

The radio button is selected.

kControlRadioButtonMixedValue

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 radio buttons.

These constants specify the value of a standard radio button control and are passed in the newValue parameter of SetControlValue and are returned by GetControlValue.

VERSION NOTES

The radio button value constants are changed with Appearance Manager 1.0 to support mixed-value radio buttons.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)