Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Enables or disables the Print Preview feature.

void EnablePrintPreview(
   BOOL bEnable = TRUE 

[in] bEnable

TRUE to enable the Print Preview feature; FALSE to disable the Print Preview feature.

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

By default the Print Preview feature is enabled.

Header: afxribbonbar.h

© 2015 Microsoft