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.
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