

This sample accompanies the June 1996 Dr. Dobbs Undocumented MFC
column by Scot Wingo and George Shepherd.

The sample demonstrates how to customize the MFC print preview engine
and also the MFC printing status dialog (CPrintingDialog).


DDJVW.H/DDJVW.CPP - The Application's view.  Interesting overrides are
OnFilePrintPreview() and OnFilePrint().  Search on DDJ for points of
interest. 

DDJPPVW.H/DDJPPVW.CPP - Customized CPreviewView derivative, CDDJPreviewView.

DDJPRNT.H/DDJPRNT.CPP - Customized MFC printing status dialog that
replaces CPrintingDialog.  This class adds a progress bar to
CPrintingDialog, but you can also do a variety of other customizations
with any CDialog derivative.

The other files are basic MDI application files generated by AppWizard.

If you have questions or comments, send an email to scotwi@aol.com.


Happy MFC programming!

Scot and George



