Changing Cursor in AnnotationViewer

Questions, comments and suggestions concerning VintaSoft Annotation .NET Plug-in.

Moderator: Alex

Post Reply
m.zuidhoek
Posts: 4
Joined: Mon Feb 21, 2011 2:15 pm

Changing Cursor in AnnotationViewer

Post by m.zuidhoek »

Hello there,

I'm currently trying to change the shape of the cursor when someone selects a certain type of annotation. However, when i hover over the annotationviewer, the cursor will not change into the desired cursor.

Whats even more strange is the fact the same piece of code does work when I don't have a image loaded in the annotationviewer. I'm kinda confused as to what causes this since no exceptions will be thrown and when i read the annotationviewer.cursor property, it will claim the cursor is changed.

I'll insert a piece of my code for reference. I hope someone can help me with this strange problem.

Sincerely,
M. Zuidhoek

Code: Select all

    Private Sub CMPenFreehand_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CMPenFreehand.Click
        AnnotationViewer1.Cursor = Cursors.Hand
    End Sub
Alex
Site Admin
Posts: 2303
Joined: Thu Jul 10, 2008 2:21 pm

Re: Changing Cursor in AnnotationViewer

Post by Alex »

Hello,

Thank you for your message, we will fix this bug in version 4.3.11.3 of VintaSoftImaging.NET SDK shortly.

Best regards, Alexander
Post Reply