Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. Browser Helper Object

Browser Helper Object

Scheduled Pinned Locked Moved ATL / WTL / STL
c++questioncsharp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nmhuy
    wrote on last edited by
    #1

    I develope a DLL that is loaded with every instance of Internet Explorer. In the DLL, I want to handle something like "BeforeNavigate" event to get the URL user enter in the Adress Bar. I've written this DLL before in C#. And in C#, handle this event is quite easy, just write something like: WebBrowser browser; browser.BeforeNavigate2 += new DWebBrowserEvents2_BeforeNavigate2EventHandle(this.BeforeNavigate); But now, I have to write it in Visual C++ 6.0. How can I handle this event in Visual C++ 6.0? Hope to see your replies soon. Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi

    N 1 Reply Last reply
    0
    • N nmhuy

      I develope a DLL that is loaded with every instance of Internet Explorer. In the DLL, I want to handle something like "BeforeNavigate" event to get the URL user enter in the Adress Bar. I've written this DLL before in C#. And in C#, handle this event is quite easy, just write something like: WebBrowser browser; browser.BeforeNavigate2 += new DWebBrowserEvents2_BeforeNavigate2EventHandle(this.BeforeNavigate); But now, I have to write it in Visual C++ 6.0. How can I handle this event in Visual C++ 6.0? Hope to see your replies soon. Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi

      N Offline
      N Offline
      Nicholas Cardi
      wrote on last edited by
      #2

      Here is a BHO in VC 7.0 which is almost the same thing without attributes. http://www.codeproject.com/atl/popupblocker2.asp[^] you also should read this msdn artical on the subject of BHO's http://msdn.microsoft.com/library/en-us/dnwebgen/html/bho.asp?frame=true[^] If you search www.codeproject.com for BHO you will find a few projects that are implemented as BHO's. Best of luck Forever Developing

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups