View Full Version : ImageControl Cursor

January 14, 2005, 19:54:20
I would like to change the default cursor during certain actions. But the cursor never changes from the default arrow.


this.icImageControl.Cursor = Cursors.Cross;

Stefan Geissler
January 17, 2005, 09:12:36

The only way i found to change the cursor on IC Imaging Control was to use the mouse move event handlers. They can be used to detect over which position the mouse is located.

Private Sub Form1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseMove
Me.Cursor = Cursors.Arrow
End Sub

Private Sub IcImagingControl1_MouseMove(ByVal sender As Object, ByVal e As TIS.Imaging.ICImagingControl.MouseEventArgs) Handles IcImagingControl1.MouseMove
Me.Cursor = Cursors.Cross
End Sub