I created a .cur
file with a simple cursor filled ellipse inside.
I wish this Cursor
to act like a "Brush Cursor" meaning that if I change thickness of the brush, the size of the Cursor
will change (I would also like to change the color of the Cursor
).
Here's the code I'm using:
var customCursor = new Cursor(@"CustomCursor.cur");
Mouse.OverrideCursor = currentCursor;
Can such thing be done? Is there any better way to do it?
I've used this before, and it works.
Then, to set it, you call:
Source: https://gist.github.com/kip9000/4201899