MCSetUpEditMenu
TheMCSetUpEditMenufunction correctly highlights and names the items in your application's Edit menu.
pascal ComponentResult MCSetUpEditMenu (MovieController mc, long modifiers, MenuHandle mh);
mc- Specifies the movie controller for this operation. You obtain this identifier from the Component Manager's
OpenComponentorOpenDefaultComponentfunction, or from theNewMovieControllerfunction.modifiers- Indicates the current modifiers from the mouse-down or key-down event to which you are responding.
mh- Specifies a menu handler to your current Edit menu. The first six items in your Edit menu should be the standard editing commands: Undo, a blank line, Cut, Copy, Paste, and Clear.
DESCRIPTION
When your application is highlighting its menus, you should callMCSetUpEditMenuimmediately before you use the Menu Manager'sMenuSelectorMenuKeyfunctions. For details onMenuSelectandMenuKey, see Inside Macintosh: Macintosh Toolbox Essentials.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help