This event is generated when the mouse wheel is rolled down
[Visual Basic]   imagekitcontrolname_MouseWheelDownImage(ByVal Shift As Integer, ByVal Direction As MouseWheelConstants)
[Visual C++]     OnMouseWheelDownImageimagekitcontrolname(short Shift, long Direction)
[VB.NET]   imagekitcontrolname_MouseWheelDownImage(ByVal sender As System.Object, ByVal e As AxImageKit10(A)Lib._IImageKitEvents_MouseWheelDownImageEvent)
[C#.NET]   imagekitcontrolname_MouseWheelDownImage(object sender, AxImageKit10(A)Lib._IImageKitEvents_MouseWheelDownImageEvent e)

AxImageKit10ALib refers to the ANSI version, AXImageKit10Lib refers to the Unicode version.

Parameters

Name Explanation
Shift This parameter retrieves (in hexadecimal notation) the other types of buttons that are pressed at the time this event is generated.

0x0001: Left mouse button

0x0002: Right mouse button

0x0004:Shift key

0x0008:Ctrl key

0x0010: Middle mouse button


If multiple buttons are pressed, the above values are combined in a bitwise OR operation.

   For Visual Basic and VB.NET, please change the above 0x to &H

Direction Direction of the scroll. (0: disables scroll, 1: vertical, 2: horizontal)

* The second parameter in VB.NET/C#.NET is e and it contains Shift, Direction, and other arguments. (the first letter is lower case)

It is also possible to use the following constants (ikDisable = 0, ikVertical = 1, ikHorizontal = 2)

Explanation

The MouseWheelDownImage event is generated when the mouse wheel is rolled down. Any code written in this event will execute whenever the mouse wheel is rolled down. Furthermore, by using the Shift parameter, you can determine whether another mouse button was pressed at the same time the mouse wheel was rolled down. In this way, you can write different code that executes if the left mouse button is pressed while the mouse wheel is rolled down or if the right mouse button is pressed while the mouse is rolled down, etc.

Note: The Direction parameter returns the value set in the MouseWheel property.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation