Have a look on www.vbaccelerator.com they have a free subclassing util, however written in vb, so you can't subclass other processes then your own. But you should be able to intercept the mouse clicks.