Scroll bars in an Explorer Bar?
-
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
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.
-
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.
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
-
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.
-
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.