I am trying to create an ImageViewer tool which, when activated, would load a custom cursor so that user can use the cursor to probe any specific point in the selected image. The cursor would revert back to the default arrow when the tool is deactivated.
I create a class by inheriting ClearCanvas.ImageViewer.BaseTools.MouseImageViewerTool and load my custom cursor in the constructor:
this.CursorToken = new CursorToken("MyCursor.png");
By doing this, my cursor would only appear when the mouse button is down and it would revert back to the default arrow as soon as the mouse button is released. I try to set the CursorToken in the Track() method, but it didn't work. Any suggestion on how I can implement this?
Thanks in advance for your help.