Accusoft ImagXpress 12
MouseDown Event
See Also  Send comments on this topic.
Button

Which mouse button had been clicked to create this event:

  • LeftButton (1)
  • RightButton (2)
  • MiddleButton (4)
Shift

The shift key state when the event was generated:

  • ShiftMask (1)
  • CtrlMask (2)
  • AltMask (4)

These values may be combined.

x
The horizontal coordinate of the mouse relative to the control's area. Use DIBXPos and DIBYPos properties to get the coordinates within the image without having to calculate scale, scroll offsets, etc.
y
The vertical coordinate of the mouse relative to the control's area. Use DIBXPos and DIBYPos properties to get the coordinates within the image without having to calculate scale, scroll offsets, etc.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : MouseDown Event

Glossary Item Box

Description

Raised when the user presses down on a mouse button over the image.

Syntax

Visual Basic
Public Event MouseDown( _
   ByVal Button As Integer, _
   ByVal Shift As Integer, _
   ByVal x As Long, _
   ByVal y As Long _
)

Parameters

Button

Which mouse button had been clicked to create this event:

  • LeftButton (1)
  • RightButton (2)
  • MiddleButton (4)
Shift

The shift key state when the event was generated:

  • ShiftMask (1)
  • CtrlMask (2)
  • AltMask (4)

These values may be combined.

x
The horizontal coordinate of the mouse relative to the control's area. Use DIBXPos and DIBYPos properties to get the coordinates within the image without having to calculate scale, scroll offsets, etc.
y
The vertical coordinate of the mouse relative to the control's area. Use DIBXPos and DIBYPos properties to get the coordinates within the image without having to calculate scale, scroll offsets, etc.

Remarks

See Also

ImagXpress Object  | ImagXpress Members  | Window and Control

©2013. Accusoft Corporation. All Rights Reserved.