I would like to know how can i detect left mouse up in the active window.
I googled but i was not able to find anything.
I don't see any mechanism to subscribe to that event in the active window.
Maybe using Windows API functions but how?
There is no trivial way for getting the job done in Outlook. The only possible way is to use Windows API functions like SetWindowsHookEx which installs an application-defined hook procedure into a hook chain. You would install a hook procedure to monitor the system for certain types of events. For example, you may find the MouseProc callback function helpful.