Screen mousemove event?
-
I need to receive an event whenever the mouse moves, anywhere on the screen (so I can test if the mouse has moved out of/into a target rectangle). The Screen object, however, has no mousemove event as far as I can tell. My current solution involves a fullscreen semitransparent window. This is a hassle and a kludge, however.
-
I need to receive an event whenever the mouse moves, anywhere on the screen (so I can test if the mouse has moved out of/into a target rectangle). The Screen object, however, has no mousemove event as far as I can tell. My current solution involves a fullscreen semitransparent window. This is a hassle and a kludge, however.
-
I need to receive an event whenever the mouse moves, anywhere on the screen (so I can test if the mouse has moved out of/into a target rectangle). The Screen object, however, has no mousemove event as far as I can tell. My current solution involves a fullscreen semitransparent window. This is a hassle and a kludge, however.
-
i don't know how to do this in c#, but in my c++-times i wrote a mouse-system-hook-dll to handle system-wide mousemoves. there was no other (easier) way half a year ago. :( :wq
another idea: maybe you can use the MouseEnter and MouseLeave messages each control (and so each form) provides. but if that still isn't your applications clientarea, this helps you only to make the transparent window smaller (so that its client-size fits the rectangle you need to observe), i.e. not the whole screen anymore. :wq