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
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Events and Methods for IE Explorer Bar

Events and Methods for IE Explorer Bar

Scheduled Pinned Locked Moved Article Writing
helptutorial
2 Posts 2 Posters 4 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.
  • R Offline
    R Offline
    Robert Thompson
    wrote on last edited by
    #1

    Hello, I've downloaded and used the BandObjs MSDN sample which shows how to create an Explorer Bar. However, what the sample fails to show is how to communicate between the Explorer Bar and Internet Explorer itself. What I need to know how to do is the following: 1. When the user enters a new address or clicks on a Favorite, I need my Explorer Bar to know what the new address is. 2. I would like to also be able to *Set* the address of the Browser (IOW "goto" a new website in the same browser window that my Explorer Bar resides). Thanks much for any articles or help. - Robert Thompson

    U 1 Reply Last reply
    0
    • R Robert Thompson

      Hello, I've downloaded and used the BandObjs MSDN sample which shows how to create an Explorer Bar. However, what the sample fails to show is how to communicate between the Explorer Bar and Internet Explorer itself. What I need to know how to do is the following: 1. When the user enters a new address or clicks on a Favorite, I need my Explorer Bar to know what the new address is. 2. I would like to also be able to *Set* the address of the Browser (IOW "goto" a new website in the same browser window that my Explorer Bar resides). Thanks much for any articles or help. - Robert Thompson

      U Offline
      U Offline
      User 10612066
      wrote on last edited by
      #2

      You do that by setting up an event handler and listen for "document complete" etc events... To set a new URL, you use the IWebBrowser2 interface, or even the DHTML Object model (DOM) it exposes. You get the browser interface passed in the IObjectWithSite::SetSite call. For a sample of an ATL implementation of an IE Desk band, look at my site: http://www.viksoe.dk under "ATL, Projects". regards bjarke

      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