3

I'm writing an Add-In for ArcGIS 10 and would like to use the standard mouse cursors ArcMap uses (e.g. the info cursor and the edit cursor). I hope it is possible to just use the right reference in the add-in config file and not copy the cursor image file.

1 Answer 1

1

You can reference whatever cursor you would like in the config file but you might have to copy the image to your project which is what you don't want to do.

Beyond that you can use the IMouseCursor.SetCursor Method and choose one of the 11 default cursors.

2
  • These default cursors are the system's default cursors. What I'm looking for are the ArcGIS cursors (e.g. the one used by the identify tool). There is an enum value esriControlsMousePointer.esriPointerIdentify, but how can I use this one in a add-in Tool? Mar 30, 2012 at 14:45
  • Those could be icons not cursors. (Editing Tool, etc) You can find a lot of those in "C:\Program Files (x86)\ArcGIS\DeveloperKit10.0\Icons" They are in a zipped folder. I don't know of another way but to copy and use the icon/cursor you want in the config file which works for me. I also make my own cursors and that works just as well. Mar 30, 2012 at 15:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.