Important: The information in this document is obsolete and should not be used for new development.
HandleCommand
Handles semantic events for this Cyberdog display part.
ODBoolean HandleCommand (in long commandCreator, in long commandID, in ODFrame frame, in void* commandData);
commandCreator
- The creator of the display part.
commandID
- The ID of the command to execute.
frame
- The frame to which the command applies.
commandData
- A pointer to data associated with the command.
- return value
kODTrue
if the method handled the command; otherwise,kODFalse
.DISCUSSION
This method should handle any additional semantic events defined by the display part. The superclass implementation returnskODFalse
.You can avoid command-ID conflicts by qualifying your display part's command IDs with a creator; you need only worry about making all of your command IDs unique. You should register your creator with Developer Technical Support.
Cyberdog defines some command IDs in
Cyberdog.h
. The creator associated with Cyberdog's commands iskCyberdogCreator
.