This event is generated when the mouse is moved over a thumbnail image in the Thumbnail Control.

[Visual Basic]   thumbcontrolname_MouseMoveOnThumb(ByVal PathName As String, ByVal FileName As String, ByVal ImageNumber As Integer, ByVal MaxImage As Integer, ByVal Left As Integer, ByVal Top As Integer, ByVal Right As Integer, ByVal Bottom As Integer)
[Visual C++]     OnMouseMoveOnThumbthumbcontrolname(LPCTSTR PathName, LPCTSTR FileName, short ImageNumber, short MaxImage, short Left, short Top, short Right, short Bottom)
[VB.NET]   thumbcontrolname_MouseMoveOnThumb(ByVal sender As System.Object, ByVal e As AxImageKit10Thumb(A)Lib._IImageKitThumbEvents_MouseMoveOnThumbEvent)
[C#.NET]   thumbcontrolname_MouseMoveOnThumb(object sender, AxImageKit10Thumb(A)Lib._IImageKitThumbEvents_MouseMoveOnThumbEvent e)

* AxImageKit10ThumbALib refers to the ANSI version, AxImageKit10ThumbLib refers to the Unicode version.

Parameters

Name Explanation
PathName The directory name and path of the image that was moved over with the mouse
FileName The file name of the image that was moved over with the mouse
ImageNumber The sequential number of the thumbnail image
MaxImage The total number of images to be loaded into the Thumbnail Control
Left The position, in pixels, of the left side of the thumbnail frame that was moved over with the mouse. (This is the x coordinate of the top left corner of the thumbnail frame)
Top The position, in pixels, of the top of the thumbnail frame that was moved over with the mouse. (This is the y coordinate of the top left corner of the thumbnail frame)
Right The position, in pixels, of the left side of the thumbnail frame that was moved over with the mouse. (This is the x coordinate of the bottom right corner of the thumbnail frame)
Bottom The position, in pixels, of the left side of the thumbnail frame that was moved over with the mouse. (This is the y coordinate of the bottom right corner of the thumbnail frame)

In VB.NET and C#.NET, the second argument e contains the PathName and other parameters. (The first letter is lower case)

Explanation

The MouseMoveOnThumb event is generated when the mouse is moved over a thumbnail image in the Thumbnail Control. To enable this event the EnableMouseMoveButton property must be set to True. If no thumbnail image is displayed on the thumbnail control then this event is not generated. When the thumbnail image isn't displayed into the thumbnail frame that was moved over with the mouse, the PathName and FileName parameters will return empty string.

When multi-page image files are loaded, the page number is appended to the FileName parameter (If the page number is 0 then it is omitted).

Example: When page 2 of the file ABC.TIF is loaded into the thumbnail control, the FileName parameter will return the string "ABC.TIF 2"

Note for Visual Basic: In order to use the Left($) function and Right($) function within the SelectFile event, please change the names of the Left and Right parameters in this event.

For example:
Private Sub ImageKitThumb1_MouseMoveOnThumb(ByVal PathName As String, ByVal FileName As String, ByVal ImageNumber As Integer, ByVal MaxImage As Integer, ByVal Left_ As Integer, ByVal Top As Integer, ByVal Right_ As Integer, ByVal Bottom As Integer)

End Sub

Differences between ImageKit 6/7/8/9

The event occurs when the mouse moves regardless of the value of the EnableMouseMoveButton property.

The ImageKit10 ActiveX is a product created by Newtone Corporation