Hide

SftPrintPreview/DLL 2.0 - Print Preview Control for C/C++

Display
Print

Notifications

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

NotificationDescription
NM_SFTPRINTPREVIEW_CLOSE_CODEThe users requests to close the Print Preview control window.
NM_SFTPRINTPREVIEW_HELP_CODEThe user requests online help.
NM_SFTPRINTPREVIEW_PAGESETUP_CODEThe users requests the Page Setup dialog.
NM_SFTPRINTPREVIEW_PAGESETUPCHANGED_CODEThe user has modified the page layout using the Page Setup dialog.
NM_SFTPRINTPREVIEW_PRINTERCHANGED_CODEThe current printer or current printer attributes have been modified.
NM_SFTPRINTPREVIEW_RETURN_CODEThe user presses the Return key while the Print Preview control has the input focus.
NM_SFTPRINTPREVIEW_ZOOMINOUT_CODEAll preview pages are reformatted or repositioned.
SFTPRINTPREVIEWN_KILLFOCUSThe control loses the input focus.
SFTPRINTPREVIEWN_LBUTTONDBLCLKThe left mouse button is double-clicked.
SFTPRINTPREVIEWN_LBUTTONDOWNThe left mouse button is clicked.
SFTPRINTPREVIEWN_MBUTTONDBLCLKThe middle mouse button is double-clicked.
SFTPRINTPREVIEWN_MBUTTONDOWNThe middle mouse button is clicked.
SFTPRINTPREVIEWN_PRINTINGDONEPrinting has ended.
SFTPRINTPREVIEWN_PRINTINGPREPAREPrinting starts.
SFTPRINTPREVIEWN_RBUTTONDBLCLKThe right mouse button is double-clicked.
SFTPRINTPREVIEWN_RBUTTONDOWNThe right mouse button is clicked.
SFTPRINTPREVIEWN_SETFOCUSThe control receives the input focus.
SFTPRINTPREVIEWN_STARTPRINTINGThe user requests printing of the current contents.

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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.