A 3 state check box control that hasChecked ,Unchecked andNeither states.
![]() | CheckValues The three possible states for the 3 way check box |
![]() | PCheck3WayBox ( PInteractor * parent, CheckValues value = Unchecked ) Create a 3 way check box control with the specified name next to it, callback function and the initial check state. |
![]() | PCheck3WayBox ( PInteractorLayout * parent, PRESOURCE_ID ctlID, const PNotifier & notify, CheckValues * valuePtr ) Create control from interactor layout with the specified control ID. |
![]() | ~PCheck3WayBox () Destroy the 3 way check box. |
![]() | TransferValue ( int option ) This function transfers the value of the control to or from the variable pointed to by the value pointer member variable. |
![]() | DefaultDimensions () Set the default dimensions for the control. |
![]() | GetValue () const Get the current state of the check box. |
![]() | SetValue ( CheckValues newVal ) Set the check state of the check box. |
![]() | GetValuePointer () const Get the current value pointer associated with the control. |
![]() | SetValuePointer ( CheckValues * ptr ) Set the current value pointer associated with the control. |
![]() | Overrides from class PControl |
![]() | New functions for class |
PNotifier codes
Overrides from class PInteractor
Overrides from class PInteractor
Member variables
Overrides from class PObject
System callback functions.
A 3 state check box control that hasChecked ,Unchecked andNeither states.The exact appearence of a check box is platform dependent, however, they all have some visual distinction between the three states plus a string label associated with it.
PCheck3WayBox( PInteractorLayout * parent, PRESOURCE_ID ctlID, const PNotifier & notify, CheckValues * valuePtr )
ctlID - Identifier for the control in the layout.
notify - Function to call when changes state.
valuePtr - Variable to change to the check box state.virtual ~PCheck3WayBox()
Overrides from class PControl
virtual void TransferValue( int option )
New functions for class
void DefaultDimensions()
CheckValues GetValue() const
void SetValue( CheckValues newVal )
CheckValues* GetValuePointer() const
void SetValuePointer( CheckValues * ptr )
Alphabetic index HTML hierarchy of classes or Java