Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Macintosh Toolbox Essentials /
Chapter 3 - Menu Manager / Menu Manager Reference
Menu Manager Routines / Responding to the User's Choice of a Menu Command


SystemEdit

When the user chooses one of the standard editing commands in the Edit menu (Undo, Cut, Copy, Paste, and Clear), call the SystemEdit function to determine whether the active window belongs to a desk accessory that is launched in your application's partition. If so, the SystemEdit function directs the desk accessory to perform the editing command and returns TRUE. If the active window does not belong to a desk accessory launched in your application's partition, SystemEdit returns FALSE and your application should process the command.

FUNCTION SystemEdit (editCmd: Integer): Boolean; 
editCmd
The item number of the standard editing command chosen by the user.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996