CMDIChildWndEx::OnSetPreviewMode

Called by the framework to enter or exit print preview mode.

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

Parameters

  • [in] bPreview
    If TRUE, enter print preview mode. If FALSE, exit print preview mode.

  • [in] pState
    A pointer to the print preview state structure.

Requirements

Header: afxmdichildwndex.h

See Also

Reference

CMDIChildWndEx Class

Hierarchy Chart