Condividi tramite


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

Reference

CMFCRibbonBar Class

Hierarchy Chart