ABSTRACT

The Edit menu currently has the entries, Undo, Cut, Copy, Paste, Delete Grouped Items, Select All, and Add Multiple Blocks, as shown in Table 29.1: functionality exists for Delete Grouped Items and Add Multiple Blocks, but is absent for the remaining items. Here, all event-handler functions and related class member methods will be added for the Edit menu to allow the user to easily and efŸciently perform the most common editing actions typically available in Windowsbased applications. The CDiagramEngDoc-based event-handler functions, OnEditUndo(), OnEditCut(), OnEditCopy(), and OnEditPaste(), listed in Table 29.1, are intended, but do not currently exist in the project, and OnEditSelectAll() exists but currently has no working functionality.