A 2 state check box control that hasChecked ,Unchecked states.
![]() | PCheckBox ( PInteractor * parent, BOOL value = FALSE ) Create a check box control with the specified name next to it, callback function and the initial check state. |
![]() | PCheckBox ( PInteractorLayout * parent, PRESOURCE_ID ctlID, const PNotifier & notify, BOOL * valuePtr ) Create control from interactor layout with the specified control ID. |
![]() | ~PCheckBox () Destroy the 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. |
![]() | GetValue () const Get the current state of the check box. |
![]() | SetValue ( BOOL newVal ) Set the check state of the check box. |
![]() | GetValuePointer () const Get the current value pointer associated with the control. |
![]() | SetValuePointer ( BOOL * ptr ) Set the current value pointer associated with the control. |
![]() | Overrides from class PControl |
![]() | Overrides from class PCheck3WayBox |
New functions for class
PNotifier codes
Overrides from class PInteractor
Overrides from class PInteractor
Member variables
Overrides from class PObject
System callback functions.
A 2 state check box control that hasChecked ,Unchecked states.The exact appearence of a check box is platform dependent, however, they all have some visual distinction between the two states plus a string label associated with it.
Note that unlike the PCheck3WayBox class this function is
limited to the Checked (TRUE) and Unchecked (FALSE) values.
PCheckBox( PInteractorLayout * parent, PRESOURCE_ID ctlID, const PNotifier & notify, BOOL * 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 ~PCheckBox()
Overrides from class PControl
virtual void TransferValue( int option )
Overrides from class PCheck3WayBox
BOOL GetValue() const
virtual void SetValue( BOOL newVal )
BOOL* GetValuePointer() const
void SetValuePointer( BOOL * ptr )
Alphabetic index HTML hierarchy of classes or Java