virtual UINT PreDrawPage( WORD wPaper, WORD wFlags, LPPAGESETUPDLG pPSD );
Return Value
Nonzero value if handled; otherwise 0.
Parameters
wPaper
Specifies a value that indicates the paper size. This value can be one of the DMPAPER_ values listed in the description of the DEVMODE structure.
wFlags
Indicates the orientation of the paper or envelope, and whether the printer is a dot-matrix or HPPCL (Hewlett Packard Printer Control Language) device. This parameter can have one of the following values:
pPSD
Pointer to a PAGESETUPDLG structure. For more information on this structure, see the Win32 documentation.
Remarks
Called by the framework before drawing the screen image of a printed page. Override this function to customize the drawing of the image. If you override this function and return TRUE, you must draw the entire image. If you override this function and return FALSE, the entire default image is drawn by the framework.
CPageSetupDialog Overview | Class Members | Hierarchy Chart
See Also CPageSetupDialog::OnDrawPage