SftPrintPreview/DLL 2.0

Notifications

Softel vdm, Inc.

The parent window of a Print Preview control receives the following event notifications using the WM_COMMAND and WM_NOTIFY messages.

Notification

Description

NM_SFTPRINTPREVIEW_CLOSE_CODE

The users requests to close the Print Preview control window.

NM_SFTPRINTPREVIEW_HELP_CODE

The user requests online help.

NM_SFTPRINTPREVIEW_PAGESETUP_CODE

The users requests the Page Setup dialog.

NM_SFTPRINTPREVIEW_PAGESETUPCHANGED_CODE

The user has modified the page layout using the Page Setup dialog.

NM_SFTPRINTPREVIEW_PRINTERCHANGED_CODE

The current printer or current printer attributes have been modified.

NM_SFTPRINTPREVIEW_RETURN_CODE

The user presses the Return key while the Print Preview control has the input focus.

NM_SFTPRINTPREVIEW_ZOOMINOUT_CODE

All preview pages are reformatted or repositioned.

SFTPRINTPREVIEWN_KILLFOCUS

The control loses the input focus.

SFTPRINTPREVIEWN_LBUTTONDBLCLK

The left mouse button is double-clicked.

SFTPRINTPREVIEWN_LBUTTONDOWN

The left mouse button is clicked.

SFTPRINTPREVIEWN_MBUTTONDBLCLK

The middle mouse button is double-clicked.

SFTPRINTPREVIEWN_MBUTTONDOWN

The middle mouse button is clicked.

SFTPRINTPREVIEWN_PRINTINGDONE

Printing has ended.

SFTPRINTPREVIEWN_PRINTINGPREPARE

Printing starts.

SFTPRINTPREVIEWN_RBUTTONDBLCLK

The right mouse button is double-clicked.

SFTPRINTPREVIEWN_RBUTTONDOWN

The right mouse button is clicked.

SFTPRINTPREVIEWN_SETFOCUS

The control receives the input focus.

SFTPRINTPREVIEWN_STARTPRINTING

The user requests printing of the current contents.

See Also  C/C++ API  |  C++ Classes


Feedback / comments / error reports for this topic
© 2016 - Softel vdm, Inc. - www.softelvdm.com