CMDIFrameWndEx::OnSetPreviewMode
TOC
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.

This method overrides CFrameWnd::OnSetPreviewMode.

Requirements

Header: afxmdiframewndex.h

Show:
© 2016 Microsoft