How to highlight the system cursor? Like many screen recording applications do. Ideally, I’d like to display a halo around it.
How to highlight the system cursor? Like many screen recording applications do. Ideally, I’d
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For a purely managed solution, the following code will draw an ellipse on the desktop at the current mouse cursor position.
By using a timer you can update the mouse position every 20ms for example and draw the new hallow (ellipse).
There are other more efficient ways that I can think of, but they would require unamanged code using system hooks. Take a look at SetWindowsHookEx for more info on this.
Update: Here is a sample of the solution I described in my comments, this is just rough and ready for testing purposes.