PSF_CLICKED Default button select notification
PSF_FOCUS_RECEIVED Sent when the object receives input focus
PSF_FOCUS_LOST Sent when the object loses input focus
PSF_TEXT_SELECT Sent when the user selects all or a portion of a text object
PSF_TEXT_EDIT Sent each time text object string is modified
PSF_TEXT_EDITDONE Sent when a text object modification is complete
PSF_CHECK_ON Sent by check box and menu button when checked
PSF_CHECK_OFF Sent by check box and menu button when unchecked
PSF_DOT_ON Sent by radio button and menu button when selected
PSF_DOT_OFF Sent by radio button and menu button when unselected
PSF_SCROLL_CHANGE Sent by non-client PegScroll derived objects
PSF_SLIDER_CHANGE Sent by PegSlider derived objects
PSF_SPIN_MORE Sent by PegSpinButton when up or right arrow is selected
PSF_SPIN_LESS Sent by PegSpinButton when down or left arrow selected
PSF_LIST_SELECT Sent by PegList derived objects, including PegComboBox
PSF_PAGE_SELECT Sent by PegNotebook when a new page is selected
PSF_KEY_RECEIVED Sent when an input key that is not supported is received
PSF_SIZED Sent when the object is moved or 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 The object is visible on the screen. This flag should not be
modified by the application level software.
PSF_CURRENT 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.
PSF_SELECTABLE 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