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

CMDIFrameWndEx::OnSetPreviewMode

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

Show:
© 2015 Microsoft