Start with the project you created in Dealing with the Paint Automation Toolbar.
Add the following menu structure to the main menu you created in Implementing the Paint Automation Initializing, Creating and Freeing.
&Undo with ID = IDM_EDIT_UNDO
&Redo with ID = IDM_EDIT_REDO
Add the following declaration to the WndProc function:
Add the following lines to the WndProc function after the "return 0L ;" of the case IDM_EXIT in
Compile and run the project by selecting Build->Execute tutorial.exe from the menu.