Called by the framework to set the print preview mode for the frame.
virtual void OnSetPreviewMode(
   BOOL bPreview,
   CPrintPreviewState* pState
);
Parameters
- [in] bPreview 
 TRUE to enable print preview; FALSE to disable print preview.
- [in] pState 
 Pointer to a CPrintPreviewState frame state structure.
Requirements
Header: afxframewndex.h