Name

PageSetupDlg

Synopsis

Displays a Page Setup common dialog box:

Public Declare Function PageSetupDlg Lib "comdlg32.dll" Alias "PageSetupDlgA" _
		(pPagesetupdlg As PAGESETUPDLG) As Long

Parameters

pPagesetupdlg

A pointer to a PAGESETUPDLF structure

Return Value

Returns if there is an error, the Close button on the title bar was clicked, or the Cancel button was clicked. Otherwise, returns a nonzero value.

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.