BCGControlBar Pro for MFC
void BCGPPrintPreview ( CView *  pView,
CRuntimeClass *  pRTI = NULL 
)

Displays a window with the preview of a document before printing.

Call this function to display a window with the preview of a document before printing.

Parameters
pViewPoints to a CView - derived object, which displays a document to be printed.
pRTIA custom runtime class; should be derived from CBCGPPrintPreviewView.