Message 1 of 5
How to get current cursor handle in AutoCAD using C# code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I wonder how to control mouse cursor in AutoCAD.
I notice that in AutoCAD the default cursor style is a crosshair with a small square pickbox sitting in its center. When we enter a command like "move" the cursor becomes small pickbox only, and after exiting command mode, the cursor change back to crosshair style again.
How can we control such behavior with C# code? Or is there a AutoCAD system variable we can use to easily switch the cursor style back and forth? Or how to get cursor handler in current AutoCAD window so that we may change the cursor style between crosshair and pickbox?
-- Thanks!