Is it possible to draw a MouseCursor into a Canvas ?
Something like
Canvas1.Backdrop = System.Cursors.MagnifyLarger
Nota: no, I do not want to change my Mouse Cursor…
The error I get from the above code is:
Type mismatch error. Expected class Picture, but got class MouseCursor
'cCurseur.Backdrop = System.Cursors.MagnifyLarger
and I do understand. But, a MouseCursor is an image (yes, it probably holds an image and a hot spot -x,y-).
As far as I know it is not possible to convert System.Cursors.xxxxx to a picture.
However, these are system cursors in macOS:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/Resources/cursors
And some of them can be downloaded from here as well:
I was fooling around and stored in the Clipboard a large image. I used that image as a MouseCursor and get a… 2100 x 2100 (around these values) cursor on screen !
Around 10 years ago, Mac cursors were still known to be limited in size (16x16, IIRC). It’s a big surprise to me to discover this limit is finally over (but I don’t know since when…).