Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreview.MouseDblClk Event

A mouse button is double clicked.

Syntax

VB.NETPrivate Sub object_MouseDblClkEvent(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.MouseDblClkEvent
VBPrivate Sub object_MouseDblClk(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As OLE_XPOS_PIXELS, ByVal Y As OLE_YPOS_PIXELS)
C#.NETvoid object_MouseDblClkEvent(object sender, EventArgumentType e);
VC++void OnMouseDblClkobject(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y);
CHRESULT OnMouseDblClkobject(short Button, short Shift, OLE_XPOS_PIXELS X, OLE_YPOS_PIXELS Y);

object

A SftPrintPreview object.

Button

The button that is pressed during the event (see SftControlButtonConstants). The button argument is a bit field with bits corresponding to the left button, right button and middle button. These bits correspond to the values shown below. Only one of the bits is set, indicating the button that caused the event.

ButtonValueDescription
constSftControlLeftButton1The left mouse button was pressed.
constSftControlRightButton2The right mouse button was pressed.
constSftControlMiddleButton4The middle mouse button was pressed.

Shift

The state of the SHIFT, CONTROL and ALT keys during the event (see SftControlKeyConstants). A bit is set if the key is down. The Shift argument is a bit field with bits corresponding to the SHIFT, CONTROL and ALT keys. The Shift variable indicates the state of these keys. Some, all, or none of the bits can be set, indicating which of the keys are pressed.

ShiftValueDescription
constSftControlShiftMask1The SHIFT key was pressed.
constSftControlCtrlMask2The CONTROL key was pressed.
constSftControlAltMask4The ALT key was pressed.

X

The x coordinate of the mouse cursor when the button was pressed.

Y

The y coordinate of the mouse cursor when the button was pressed.

Comments

The MouseDblClk event occurs when a mouse button is double clicked.

See Also SftPrintPreview Object | Object Hierarchy


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