Carbon


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
);
Parameter descriptions
menuResult

The result from the Menu Manager MenuSelect function.

function result

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.

DISCUSSION

When the user chooses a menu item, the item may belong to a text service component’s 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 should—as usual—call the Menu Manager function HiliteMenu with the menuID parameter set to 0 to remove the highlighting from the menu title.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.

CARBON NOTES

Not needed in Mac OS X due to the new event model.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)