CPrintInfo::m_bDirect

The framework sets this member to TRUE if the Print dialog box will be bypassed for direct printing; FALSE otherwise.

Remarks

The Print dialog is normally bypassed when you print from the shell or when printing is done using the command ID ID_FILE_PRINT_DIRECT.

You normally don't change this member, but if you do change it, change it before you call CView::DoPreparePrinting in your override of CView::OnPreparePrinting.

Requirements

Header: afxext.h

See Also

Reference

CPrintInfo Structure

Hierarchy Chart

CView::DoPreparePrinting

CView::OnPreparePrinting