CPrintDialogEx::CPrintDialogEx
Constructs a Windows 2000 Print property sheet.
CPrintDialogEx(
DWORD dwFlags = PD_ALLPAGES | PD_USEDEVMODECOPIES | PD_NOPAGENUMS
| PD_HIDEPRINTTOFILE | PD_NOSELECTION | PD_NOCURRENTPAGE,
CWnd* pParentWnd = NULL
);
Parameters
dwFlags
One or more flags you can use to customize the settings of the dialog box, combined using the bitwise OR operator. For example, the PD_ALLPAGES flag sets the default print range to all pages of the document. See the PRINTDLGEX structure in the Windows SDK for more information on these flags.pParentWnd
A pointer to the dialog box's parent or owner window.
Remarks
This member function only constructs the object. Use the DoModal member function to display the dialog box.
Requirements
Header: afxdlgs.h