I cannot figure this out for the life of me. I want to monitor where a user navigates to in IE, and I've found code that will do this beautifully for the first tab in an IE7 browser. (In IE6, the code was awesome, worked perfectly). However, I cannot seem to get it to work in any tabs that are created in the browser. This is unacceptable for the project I'm working on, so I need to be able to capture navigation on a tab as well.
The code I've started from can be found here:
http://www.codeproject .com/KB/cs/IE_Activity_Mon itor.aspx
The problem arises in that the WindowRegistere d is the same for all tabs in a given IE window. So, when a user opens a new window, the handle is logged, and navigation is captured through the events. However, when a new TAB is created, the handle is the same (because it's in the same shell window), but none of the events trigger off the original handle.
Any insight / suggestions / help is GREATLY appreciated. Thanks in advance.
Chad
The code I've started from can be found here:
http://www.codeproject .com/KB/cs/IE_Activity_Mon itor.aspx
The problem arises in that the WindowRegistere d is the same for all tabs in a given IE window. So, when a user opens a new window, the handle is logged, and navigation is captured through the events. However, when a new TAB is created, the handle is the same (because it's in the same shell window), but none of the events trigger off the original handle.
Any insight / suggestions / help is GREATLY appreciated. Thanks in advance.
Chad