Page 1 of 1

Change mouse size

Posted: Wed Feb 09, 2022 1:43 pm
by jak64
Hello,
I am writing a program for a visually impaired child.
I would like to magnify the mouse arrow, programmatically.
We can do it with Windows but I would like to do it by code in my program.
Thank you for your help.

Re: Change mouse size

Posted: Wed Feb 09, 2022 2:48 pm
by RASHAD
It can be done for the Desktop or for your Application
But for the Desktop I don't recommend

Re: Change mouse size

Posted: Wed Feb 09, 2022 3:12 pm
by KianV
If you are using a Canvas gadget then the #PB_Cursor_Invisible flag can be used to hide the system pointer when it is over the gadget.
Then you could draw a sprite at the mouse co-ordinates.
(See the CanvasGadget example program, although this does use a different system cursor, but the basic principle is there.)
Alternatively, you could just use a sprite at the mouse co-ordinates, although it may not be too pretty if there is a lot of lag caused by processing in-between checks.

Re: Change mouse size

Posted: Mon Feb 14, 2022 9:34 am
by jak64
Thank you