Question

I tried to make the mouse cursor invisible using the following code:

Cursor.Hide();

The mouse cursor does disappear from the screen and it does not appear in video captured using Expression Encoder 4.

PrintScreen is useless since it does not show the mouse cursor anyway. However, I installed a keylogger on my system and the mouse is visible in screenshots taken by the keylogger, even though it is not visible to the user on the screen.

How is this possible? How can I make the mouse cursor invisible to the keylogger as well?

Was it helpful?

Solution

A keylogger may be programmed to take a screenshot and then insert the cursor image by itself using the position and cursor type. You will not be able to stop this from happening if this is the case.

OTHER TIPS

If you are running WPF applications, try this at runtime (when you capture screen):

    this.Cursor = Cursors.None;

See also this post.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top