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. General Programming
  3. C / C++ / MFC
  4. Scroll bars in an Explorer Bar?

Scroll bars in an Explorer Bar?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
5 Posts 2 Posters 1 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.
  • M Offline
    M Offline
    mahesh
    wrote on last edited by
    #1

    Hello gurus, How to implement scroll bars in an Explorer Bar? I have this explorer bar as a child window of IE which hosts browser control. Any ideas?? regards Mahesh

    E 1 Reply Last reply
    0
    • M mahesh

      Hello gurus, How to implement scroll bars in an Explorer Bar? I have this explorer bar as a child window of IE which hosts browser control. Any ideas?? regards Mahesh

      E Offline
      E Offline
      Erik Thompson
      wrote on last edited by
      #2

      I'm confused; are you trying to scroll the browser control, or the contents of the explorer bar which holds a browser control and other things? The first is already implemented by the browser control, just let it do its job. The later requires you to create scollbar window objects and move them where you want and to create a window proc to handle the scrolling messages.

      M 3 Replies Last reply
      0
      • E Erik Thompson

        I'm confused; are you trying to scroll the browser control, or the contents of the explorer bar which holds a browser control and other things? The first is already implemented by the browser control, just let it do its job. The later requires you to create scollbar window objects and move them where you want and to create a window proc to handle the scrolling messages.

        M Offline
        M Offline
        mahesh
        wrote on last edited by
        #3

        Hi Erik, Ok, I have created an Explorer Bar. I have created a window using AxWindow on the top of an Explorer Bar. This AxWindow hosts web browser control ( using IWebBrowser2) and displays one html file. And when you click on links, it displays as in defaulr browser. So basically I have two browsers ( IEs) same time. One in default and other inside Exlorer Bar. I am not touching default broweser. I want to create scroll bars for Explorer bar so I can move document inside it. Is it possible using IHTMLWindow2 and IHTMLDocument2 interfaces?? I am using ATL. Or is there any other way?? I have IWebBrowser2 interface for Explorer bar's browser too. thanks

        1 Reply Last reply
        0
        • E Erik Thompson

          I'm confused; are you trying to scroll the browser control, or the contents of the explorer bar which holds a browser control and other things? The first is already implemented by the browser control, just let it do its job. The later requires you to create scollbar window objects and move them where you want and to create a window proc to handle the scrolling messages.

          M Offline
          M Offline
          mahesh
          wrote on last edited by
          #4

          If something is still not clear let me know. regards Mahesh

          1 Reply Last reply
          0
          • E Erik Thompson

            I'm confused; are you trying to scroll the browser control, or the contents of the explorer bar which holds a browser control and other things? The first is already implemented by the browser control, just let it do its job. The later requires you to create scollbar window objects and move them where you want and to create a window proc to handle the scrolling messages.

            M Offline
            M Offline
            mahesh
            wrote on last edited by
            #5

            Is there any way I can access Explorer Bar window from HTML? For example, we can access IE's Search window or main window using _Search or _main. Can i give my Explorer bar a name like that??? Any ideas?? regards Mahesh

            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