LStdCheckBox is a PowerPlant class that is used for managing Mac OS check box controls.
Methods :
The methods in this class are:
Data Members:
There are no data members in this class.
Operation:
If the user clicks the control. the value toggles between one and zero.
Source files:
Ancestors:
The ancestors this class derives from are:
Purpose:
The constructors create objects from the passed-in parameters.
Access:
Prototype:
LStdCheckBox();
LStdCheckBox( const LStdCheckBox &inOriginal );
LStdCheckBox( const SPaneInfo &inPaneInfo,
MessageT inValueMessage,
SInt32 inValue,
ResIDT inTextTraitsID,
Str255 inTitle );
LStdCheckBox( const SPaneInfo &inPaneInfo,
MessageT inValueMessage,
SInt32 inValue,
ResIDT inTextTraitsID,
ControlHandle inMacControlH );
LStdCheckBox( LStream *inStream );Parameters:
These constructors have the following parameters:
Purpose:
This method responds to a click in the check box by toggling the value of the control between checked (value = 0) and unchecked (value = 1). This method is an override of HotSpotResult() in the LControl class.