leojose
June 4th, 2005, 04:43 AM
Hi all,
I have been working on this problem for quite some time but am unable to fine any good solutions.
My aim is to detect mouse events (regardless of what window it is working on) and then hidethe cursor whenever the mouse performs a click & drag.
To monitor the mouse events I created a hook using LowLevelMouseProc. But when I try to hide it by ShowCursor(FALSE) or SetCursor(NULL), it just doesn't happen :(
Can somebody suggest me other methods to hide a cursor, maybe make it transparent or just take the 'cursor image' behind an application etc.
PS: I would like to use the cursor as it is in a hidden mode so techniques like shifting the cursor location or confiing it a small section etc. won't be of any help.
Thanks n Regards
I have been working on this problem for quite some time but am unable to fine any good solutions.
My aim is to detect mouse events (regardless of what window it is working on) and then hidethe cursor whenever the mouse performs a click & drag.
To monitor the mouse events I created a hook using LowLevelMouseProc. But when I try to hide it by ShowCursor(FALSE) or SetCursor(NULL), it just doesn't happen :(
Can somebody suggest me other methods to hide a cursor, maybe make it transparent or just take the 'cursor image' behind an application etc.
PS: I would like to use the cursor as it is in a hidden mode so techniques like shifting the cursor location or confiing it a small section etc. won't be of any help.
Thanks n Regards