How to create an individual animation of the mouse cursor with the mouse?

I write software for the disabled. One problem is the difficulty of tracking the mouse pointer. I want to have a mouse cursor glow (or a similar effect. Maybe water, like ripples around it) when the user needs to find it. How it's done? I know that this is possible because it is used in various programs.

+3
source share
4 answers

Take a look at the Realworld Cursor Editor that you find here .

Edit: As OP pointed out, OP was looking for a way to create an animated cursor programmatically using Win32API. AFAIK this cannot be done, or it is a long way to do it, the LoadCursor ' function can load the cursor from an embedded resource or a file on a disk with the extension .ani, therefore my answer is in support of using the Realworld Cursor Editor, which can create a .ani file containing animated cursors, another way to do this is to use Control Panel> Mouse, click on the Pointers tab in the dialog itself to set it as system-wide parameters. Here is an example of how the animated cursor loads here .

Hope this helps, Regards, Tom.

+2

, , , , , , . (, - , .)

This has the advantage that the cursor does not change, so if it conveys information (such as an hourglass or size descriptor), you do not interfere with this.

0
source

If all you have to do is make the ripples appear around the cursor, there is a setting that you can change in the mouse section of the control panel so that the ripples appear around the cursor when you press the CTRL key.

0
source

Source: https://habr.com/ru/post/1734968/


All Articles