BOOL PrintSelection( ) const;
Return Value
Nonzero if only the selected items are to be printed; otherwise 0.
Remarks
Call this function after calling DoModal to determine whether to print only the currently selected items.
Example
See the example for CPrintDialog::m_pd.