Click to See Complete Forum and Search --> : capturing mouse events


leojose
June 2nd, 2005, 07:13 AM
Hi all,

I would like to know if there is any method of capturing mouse events directly from the OS? Normally we try to tap into a windows procedure call to learn what the mouse is doing but I want to do this on a global scale regardless of which window is active.
Basically I would like to hide the cursor whenever the middle button is clicked(any where on the screen) and appear otherwise

Regards

confus-ed
June 2nd, 2005, 02:50 PM
Can somebody move this to 'programming & web design' please ? Its in the wrong place ! :)

My 'best shot' at this would be to suggest to use either 'mouseinput' or 'mousekeys' functions from the windows api details about that - here (http://www.mangovision.com/vbapi/index.html)