Name

Public Const WM_PSD_MINMARGINRECT = (WM_USER+2)

Synopsis

wParam

Device context handle to the sample page image.

lParam

Pointer to a RECT structure, defined in Appendix C.

Description

Notifies the Page Setup common dialog box PagePaintHook hook procedure that the sample page is 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.