Condividi tramite


CMDIFrameWndEx::OnSetPreviewMode

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

virtual void OnSetPreviewMode(
   BOOL bPreview,
   CPrintPreviewState* pState
);

Parameters

  • [in] bPreview
    If TRUE, sets print-preview mode. If FALSE, cancels preview mode.

  • [in] pState
    A pointer to a CPrintPreviewState structure.

Remarks

This method overrides CFrameWnd::OnSetPreviewMode.

Requirements

Header: afxmdiframewndex.h

See Also

Reference

CMDIFrameWndEx Class

Hierarchy Chart