Pegthing Status Flags - Casio ClassPad 300 Programming Manual

Sdk programming guide
Hide thumbs Also See for ClassPad 300:
Table of Contents

Advertisement

PSF_CLICKED
PSF_FOCUS_RECEIVED
PSF_FOCUS_LOST
PSF_TEXT_SELECT
PSF_TEXT_EDIT
PSF_TEXT_EDITDONE
PSF_CHECK_ON
PSF_CHECK_OFF
PSF_DOT_ON
PSF_DOT_OFF
PSF_SCROLL_CHANGE
PSF_SLIDER_CHANGE
PSF_SPIN_MORE
PSF_SPIN_LESS
PSF_LIST_SELECT
PSF_PAGE_SELECT
PSF_KEY_RECEIVED
PSF_SIZED

PegThing Status Flags

All PEG objects have certain system status flags associated with them. The system status
flags are important to the correct operation of the library, but are generally not often
needed by the application software. PegThing maintains an object's system status flags,
and provides public functions that allow you to examine and/or modify the system status
flags for an object. These functions are:
BOOL
StatusIs(WORD wMask)
virtual void
AddStatus(WORD wOrVal);
virtual void
RemoveStatus(WORD wAndVal);
WORD
GetStatus(void);
StautsIs() is used to test if a PegThing has a specific system flag set. The list of valid
system flags follows.
PSF_VISIBLE
PSF_CURRENT
PSF_SELECTABLE
Default button select notification
Sent when the object receives input focus
Sent when the object loses input focus
Sent when the user selects all or a portion of a text object
Sent each time text object string is modified
Sent when a text object modification is complete
Sent by check box and menu button when checked
Sent by check box and menu button when unchecked
Sent by radio button and menu button when selected
Sent by radio button and menu button when unselected
Sent by non-client PegScroll derived objects
Sent by PegSlider derived objects
Sent by PegSpinButton when up or right arrow is selected
Sent by PegSpinButton when down or left arrow selected
Sent by PegList derived objects, including PegComboBox
Sent by PegNotebook when a new page is selected
Sent when an input key that is not supported is received
Sent when the object is moved or sized
The object is visible on the screen. This flag should not be
modified by the application level software.
This flag indicates that the object is in the current branch of
the display tree. If the object is a leaf object (i.e. it has no
children) and it is current, then it is the object which will
receive keyboard input messages.
This flag is tested by PegPresentationManager to determine
if an object is enabled and allowed to receive input
messages. The application level software can modify this
flag.
14

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents