Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Sets the application's main frame window print-preview mode.

virtual void OnSetPreviewMode(
   BOOL bPreview,
   CPrintPreviewState* pState

[in] bPreview

If TRUE, sets print-preview mode. If FALSE, cancels preview mode.

[in] pState

A pointer to a CPrintPreviewState structure.

Header: afxmdiframewndex.h

© 2015 Microsoft