C# BHO problem
-
Hi I had BHO developed in vs2005. I work on IE6. I do all the things when the progresschange event fires... http://msdn.microsoft.com/en-us/library/aa768283(VS.85).aspx\[^\] The main thing is when I open 3 instances of IE, consider in first instance, http://www.google.co.in/\[^\] is opened, in second instance, http://www.msn.com/\[^\] is opened, in third instance, http://in.yahoo.com/?p=us\[^\] is opened. when these are opened the ProgressChangeEvent is fired, but when return back to the window of 2nd instance (i.e.,http://www.msn.com/\[^\]) and refresh it, no progresschangeevent is fired. which event can be fired when changing the focus from one window to other, "WindowStateChanged" event should be fired, but when I open solution explorer of my project, this event is not visible in intellisense. Why WindowStateChanged event is not obtained in my Project solution. And, using the BHO can't we get the handle of previously opened instance(which is currently active, like 2nd instance after openeing three instances of IE.) I had already posted this in http://www.codeproject.com/Messages/3165774/Csharp-BHO-problem.aspx[^] but I think this is the forum that I can get some suggestions. I was doing all these in Windows XP Service Pack 2 (SP2).
-
Hi I had BHO developed in vs2005. I work on IE6. I do all the things when the progresschange event fires... http://msdn.microsoft.com/en-us/library/aa768283(VS.85).aspx\[^\] The main thing is when I open 3 instances of IE, consider in first instance, http://www.google.co.in/\[^\] is opened, in second instance, http://www.msn.com/\[^\] is opened, in third instance, http://in.yahoo.com/?p=us\[^\] is opened. when these are opened the ProgressChangeEvent is fired, but when return back to the window of 2nd instance (i.e.,http://www.msn.com/\[^\]) and refresh it, no progresschangeevent is fired. which event can be fired when changing the focus from one window to other, "WindowStateChanged" event should be fired, but when I open solution explorer of my project, this event is not visible in intellisense. Why WindowStateChanged event is not obtained in my Project solution. And, using the BHO can't we get the handle of previously opened instance(which is currently active, like 2nd instance after openeing three instances of IE.) I had already posted this in http://www.codeproject.com/Messages/3165774/Csharp-BHO-problem.aspx[^] but I think this is the forum that I can get some suggestions. I was doing all these in Windows XP Service Pack 2 (SP2).
Hi, i think,but not sure, WindowStateChanged event is registered for the current instance and once you come out of that IE then it wont fire. For example. You take IE7 there WindowStateChanged fires while you open a new tab. and switch over the tabs as well.and there u can get the active tab details using he Acessability interface. ( i am also looking for the solution)