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 theSimpleCyberServiceoverride of theDoCyberMenuCommandmethod to perform the selected menu command. The value specified byindexshould be in the range 0...(numitems - 1), where numitems is the number of menu items the service defines.If you subclass
SimpleCyberServiceand your service has menu commands, your subclass should overrideDoMenuItemSelected.If you subclass
SimpleCyberServiceand 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::DoCyberMenuCommandmethod (page 335).