Udostępnij za pośrednictwem


CMFCRibbonBar::EnablePrintPreview

Enables or disables the Print Preview feature.

void EnablePrintPreview(
   BOOL bEnable = TRUE 
);

Parameters

  • [in] bEnable
    TRUE to enable the Print Preview feature; FALSE to disable the Print Preview feature.

Remarks

If bEnable is FALSE and a print preview category exists, it is deleted.

By default the Print Preview feature is enabled.

Requirements

Header: afxribbonbar.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonBar Class

Change History

Date

History

Reason

October 2008

Updated whole topic.

Information enhancement.