共用方式為


CPrintDialog Members

Base Class Members

CObject Members

CCmdTarget Members

CWnd Members

CDialog Members

CCommonDialog Members

Data Members

m_pd

A structure used to customize a CPrintDialog object.

Construction

CPrintDialog

Constructs a CPrintDialog object.

Operations

CreatePrinterDC

Creates a printer device context without displaying the Print dialog box.

DoModal

Displays the dialog box and allows the user to make a selection.

GetCopies

Retrieves the number of copies requested.

GetDefaults

Retrieves device defaults without displaying a dialog box.

GetDeviceName

Retrieves the name of the currently selected printer device.

GetDevMode

Retrieves the DEVMODE structure.

GetDriverName

Retrieves the name of the currently selected printer driver.

GetFromPage

Retrieves the starting page of the print range.

GetPortName

Retrieves the name of the currently selected printer port.

GetPrinterDC

Retrieves a handle to the printer device context.

GetToPage

Retrieves the ending page of the print range.

PrintAll

Determines whether to print all pages of the document.

PrintCollate

Determines whether collated copies are requested.

PrintRange

Determines whether to print only a specified range of pages.

PrintSelection

Determines whether to print only the currently selected items.

See Also

Reference

CPrintDialog Class

Hierarchy Chart