I need non-visual ActiveX component, which gets access to the mouse events, scrollbars and LocationURL of active Internet Explorer window. When user switches between windows, this component must follow him. I can enumerate windows with the following code, but how to find out which one is active:
for dwCount:=0 to (pvShell.Count-1) do begin
ovIE:=pvShell.Item(dwCount); . . . .