In this application we would draw a circle and a rectangle, display
some text and then try to print it on the printer. We would also
provide support for print previewing and print setup. The 'File' menu
would contain items like 'Print','Print preview' and 'Print Setup'. On selecting
the 'Print' menu item a 'Print' dialog box would popup. In this dialog the user can
specify printing options like printer type, starting and ending page numbers and the
number of copies.
Selecting 'Print Preview' option would put the application in the print preview mode such that
the user can see exactly how the printed output would look like before it is sent to the printer.
// Myapp.h
class myapp : public CWinApp
{
private :