Important: The information in this document is obsolete and should not be used for new development.
DoMenuItemSelected
Performs the selected menu command.
void DoMenuItemSelected (in long index, in ODFrame frame, in CyberMenuData menuData);
index
- The zero-based index of the command.
frame
- The frame associated with the menu event.
menuData
- A pointer to the service's menu data.
DISCUSSION
This method is called by theSimpleCyberService
override of theDoCyberMenuCommand
method to perform the selected menu command. The value specified byindex
should be in the range 0...(numitems - 1), where numitems is the number of menu items the service defines.If you subclass
SimpleCyberService
and your service has menu commands, your subclass should overrideDoMenuItemSelected
.If you subclass
SimpleCyberService
and override this method, your override must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheCyberService::DoCyberMenuCommand
method (page 335).