Page 1 of 1

Changing Cursor in AnnotationViewer

Posted: Mon Feb 21, 2011 3:45 pm
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.

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

Re: Changing Cursor in AnnotationViewer

Posted: Wed Feb 23, 2011 12:39 pm
by Alex

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

Best regards, Alexander