CPrintDialogEx::PrintSelection
Call this function after calling DoModal to determine whether to print only the currently selected items.
BOOL PrintSelection( ) const;
Return Value
TRUE if only the selected items are to be printed; otherwise FALSE.
Requirements
Header: afxdlgs.h