Start with the project you created in Using the Undoing/Redoing capabilities.
Add the following menu structure to the Edit popup menu you created in Using the Undoing/Redoing capabilities after the &Redo item:
Cu&t with ID = IDM_EDIT_CUT
&Copy with ID = IDM_EDIT_COPY
&Paste with ID = IDM_EDIT_PASTE
&Delete with ID = IDM_EDIT_DELETE
Add the following lines to the WndProc after the statement "return 0L ;" of the case IDM_EDIT_REDO in the
// Cut the current selection to the clipboard
// Copy the current selection to the clipboard
//check if there is a valid automation mode data on the clipboard
// paste the data to the current active container
// Delete the current selection
Compile and run the project by selecting Build->Execute tutorial.exe from the menu.