Name

Public Const WM_PSD_PAGESETUPDLG = (WM_USER)

Synopsis

wParam

The low-order word contains the paper size; the high-order word contains the orientation of the paper and whether the printer is a dot matrix or a Hewlett-Packard Printer Control Language device.

lParam

Pointer to a PAGESETUPDLG structure, defined in Appendix C.

Description

Notifies the Page Setup common dialog box PagePaintHook hook procedure that the sample page contents are about to be drawn on the screen.

Return Value

True if the image is to be drawn on the screen; False otherwise.

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.