Show underlying applications mouse cursor when hovering over visible section of my application.
Posted
by Dylan Vester
on Stack Overflow
See other posts from Stack Overflow
or by Dylan Vester
Published on 2010-06-06T00:21:06Z
Indexed on
2010/06/06
0:22 UTC
Read the original article
Hit count: 496
I am writing a WPF application that allows the user to draw over the entire screen when the right mouse button is held down. I use a full screen transparent overlay form to achieve this, however, as I draw lines with the mouse, what's happening is that the portion of my window that contains the line is becoming visible (as expected). The undesired effect of this is that if the line is over a part of another application such as a textbox, or hyperlink, this changes the cursor back to the default cursor my my app (arrow), instead of the other applications desired cursor (IBeam). I want my overlay to be seamless to the user, and just show their drawing path, rather than have any interaction with the mouse cursor.
See my example below:
© Stack Overflow or respective owner