Name
PRINTDLGEX
Synopsis
Defines a Print Property Sheet common dialog box:
Public Type PRINTDLGEX
lStructSize As Long
hwndOwner As Long
hDevMode As Long
hDevNames As Long
hdc As Long
flags As Long
flags2 As Long
Exclusionflags As Long
nPageRanges As Long
nMaxPageRanges As Long
lpPageRanges As Long
nMinPage As Long
nMaxPage As Long
nCopies As Long
hInstance As Long
lpPrintTemplateName As Long
lpCallback As Long
nPropertyPages As Long
lphPropertyPagesAs String
nnStartPage As Long
dwResultAction As Long
End TypeStructure Members
-
lStructSize Size of this structure.
-
hwndOwner Handle of the owning window.
-
hDevMode Pointer to a
DEVMODEstructure.-
hDevNames Pointer to a
DEVNAMESstructure.-
hdc Handle to a device context.
-
flags Flags describing this common dialog box. You must set the
PD_ENABLEPRINTTEMPLATEflag to use a modified dialog template for the General tab.-
flags2 Must be set to zero.
-
Exclusionflags Excludes controls from the Print Driver Property page.
-
nPageRanges Number of page ranges.
-
nMaxPageRanges Size of
lpPageRanges.-
lpPageRanges Pointer to array of
PRINTPAGERANGEstructures.-
nMinPage Minimum starting page number.
-
nMaxPage Maximum ending page number.
-
nCopies Number of copies.
-
hInstance The instance handle of the object that contains the dialog resource. This is usually set equal to the
App.hInstanceproperty.-
lpPrintTemplateName The ID of the modified dialog resource for the General tab.
-
lpCallback A pointer to the developer-defined dialog hook function.
-
nPropertyPages
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access