VAPIMWP_PRINT_PRINTSETUP

Opens a standard Print Setup dialog box. This is a parameter of the VAPIM_PRINT message.

Syntax

#include <kvvapi.h>
SendMessage(hWndVAPI, VAPIM_PRINT, VAPIMWP_PRINT_PRINTSETUP, 0L );

Arguments

Argument Description
hWndVAPI The handle of the VAPI window.

Returns

SendMessage() returns TRUE if the call succeeds; otherwise it returns FALSE.

Discussion

Allows the user to select general printing options, including the printer, page size, and page orientation.