CPrintPreviewFrameImpl::DoPrintPreview
boolCPrintPreviewFrameImpl::DoPrintPreview(IPrintable*pIPrintable)
Show the print preview window inside the client area of the frame window.
Defined in: PrintPreviewWnd.h
Return Value
true if successful, false if error occurred
Parameters
pIPrintable
Interface to object to be printed.
Comments
This function shows the print preview window in the client area
of the frame and puts the print preview dialog control bar at the
top of the client area of the frame. This function calls the
OnBeginPreview() callback function to give derived classes an
opportunity to inject some processing before the print print
preview window is shown.