![]() |
TSMMenuSelect |
||||
Header: | TextServices.h | Carbon status: | Unsupported | |
Gives the specified text service component a chance to reply to a menu selection.
Boolean TSMMenuSelect ( SInt32 menuResult );
The result from the Menu Manager MenuSelect function.
FALSE if a text service component did not handle the menu selection. In this case, your client application should process the menu selection normally. TRUE when a text service component handled the menu selection. In this case, you should take no action.
When the user chooses a menu item, the item may belong to a text service components menu. To provide an opportunity for the text service component to reply to its menu selections, your application should call TSMMenuSelect with the result from the Menu Manager MenuSelect function.
After TSMMenuSelect returns, your application shouldas usualcall the Menu Manager function HiliteMenu with the menuID parameter set to 0 to remove the highlighting from the menu title.
Not supported in Carbon. Not available in Carbon.
Not needed in Mac OS X due to the new event model.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)