Lab 4

The Problem

Create a Windows program using AppExpert in which the main window is a TWindow. This program will allow the user to draw rectangles and circles of a size and location specified by the user using a TInputDialog. Each of the rectangles and circles are stored as counted pointers in an Array and all of the shapes are draw by the main windows WM_Paint handler. There should be a menu that allows the user to add a circle or a rectangle. The handlers for these add commands should call on the Invalidate function to force the window to redraw itself.

The Schedule