Hallo,
i would like to get a mouse event when my console application is running. Under http://www.codeproject.com/shell/taskbaricon.asp is a nice solution but I need to get the mouse event although i did not click on the systray icon. A global mouse event listener in other words.
Thanks a lot for your help. I hope you can understand my English.

How to detect a mouse event of other applications?
Liu Feng
dindelus
thanx
CECOOK
There is something called mouse capture that might do what you need; see the SetCapture function and related functions. Otherwise, the most common solution is to use system-wide hooks, which is advanced Windows programmming. These are all outside the scope of these forums.