PyCPrintDialog = CreatePrintDialog(idRes, bPrintSetupOnly , dwFlags , parent , dll )

Creates a print dialog object.


idRes : int

The ID of the dialog resource to load.

bPrintSetupOnly=FALSE : int

Specifies whether the standard Windows Print dialog box or Print Setup dialog box is displayed.


One or more flags you can use to customize the settings of the dialog box, combined using the bitwise OR operator.

parent=None : PyCWnd

A pointer to the dialog box parent or owner window.

dll=None : PyDLL

The DLL object to load the dialog from.