CPrintDialog Methods

Construction Methods

Method Description
CPrintDialog Constructs a CprintDialog object

Operations Methods

Method Description
DoModal Displays the dialog box and allows the user to make a selection
GetCopies Retrieves the number of copies requested.
GetDefaults Retrieves the number of copies requested.
GetDeviceName Retrieves the name of the currently selected printer device.
GetMargins Retrieves the margins of the printer device driver.
GetPaperSize Retrieves the size of the paper selected for printing.
GetPortName Retrieves the name of the currently selected printer port.
GetPrinterDC Retrieves a handle to the printer device context
PrintAll Determines whether to print all pages of the document.
PrintSelection Determines whether to print only the currently selected items