SftPrintPreview/DLL 2.0

SFTPRINTPREVIEWN_LBUTTONDOWN

Softel vdm, Inc.

The SFTPRINTPREVIEWN_LBUTTONDOWN notification code is sent when the left mouse button is clicked.

Parameters (WM_COMMAND Message)

wParam

The low-order word contains the Print Preview control's control identifier. The high-order word specifies the notification code SFTPRINTPREVIEWN_LBUTTONDOWN.

lParam

Window handle of the Print Preview control sending the notification.

Comments

The SFTPRINTPREVIEWN_LBUTTONDOWN notification code is sent when the left mouse button is clicked.

This notification occurs before the control takes any action.  If the mouse button is clicked on a page being previewed, the page is zoomed in/out.  If an application wants to suppress the built-in behavior of the control, the WM_CANCELMODE message must be sent to the control.  The iZoomStyle member of the SFTPRINTPREVIEW_CONTROL structure can be used to change the zoom in/out action available to the end-user.

The parent window of the Print Preview control receives the SFTPRINTPREVIEWN_LBUTTONDOWN notification code through the WM_COMMAND message.

The HitTest function can be used to determine the area being clicked.

This notification is not sent if the tool bar is clicked.

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


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