Hide

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

Display
Print

SFTPRINTPREVIEWN_LBUTTONDBLCLK Notification Code

The SFTPRINTPREVIEWN_LBUTTONDBLCLK notification code is sent when the left mouse button is double-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_LBUTTONDBLCLK.

lParam

Window handle of the Print Preview control sending the notification.

Comments

The SFTPRINTPREVIEWN_LBUTTONDBLCLK notification code is sent when the left mouse button is double-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_LBUTTONDBLCLK 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


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