I'm trying to spy a running Internet Explorer 6. I need to know which control has the focus, and on which control the mouse is hovering.
I found a solution where I open my own IE control and plug into an event source, but I need to find a solution for an already running IE. The main problem is, ::WindowFromPoint() doesn't make a distinction between controls (text boxes, combo boxes etc) insode Internet Explorer.
Can I instantiate a DOM object with the running IE instance, to ask the DOM object ? Or is it possible to register for events from the MSHTML control inside the existing and running IE ?
I have Visual C++ 6.0