How to capture mouse coordinates in an IE window?
Hi
I´m working on a Single Sign On system using an IE BHO in VC 6.0
I would like to capture the mouse clicks in IHTMLDocument2, and using elementFromPoint() obtain a element name, so later i could complete the data.
I think i should use put_onclick() to override the default mouse handler, but the documentation is really bad and i dont understand how to use it.
It says that the parameter is a pointer to an IDispatch interface, that implements a default mouse handler, but...
Should i create a new interfase with a method to handle the mouse events?
How should this method be named?
I would really apreciate any help
Thanks in advance
Sebastian
|