共用方式為


CDockingManager::SetPrintPreviewMode

Sets the print preview mode of the bars that are displayed in the print preview.

void SetPrintPreviewMode(
   BOOL bPreview,
   CPrintPreviewState* pState
);

Parameters

  • [in] bPreview
    TRUE if print preview mode is set; FALSE otherwise.

  • [in] pState
    A pointer to a preview state. This parameter is not used.

Requirements

Header: afxdockingmanager.h

See Also

Reference

CDockingManager Class

Hierarchy Chart