iwebbrowser2
How to get the URL for which downloadBegin() event is fired?
I am attempting to create a custom web browser based on the WPF Web browser control. I have implemented the IWebBrowser2 com interface and implemented the handlers for Navigating(), NavigatedTo() and[详细]
2023-01-26 05:54 分类:问答Getting IWebBrowser2 pointer from event DISPID_TITLECHANGE
Im working on a Browser Helper Obje开发者_StackOverflow中文版ct, and I am trying to access the IWebBrowser2 that fires an event. With NavigateComplete2 and other events I can easly do it because I get[详细]
2023-01-24 08:21 分类:问答Overriding window.location on Webbrowser Control
This might seem a weird question, but is there a way to override the window.location without making the browser control navigate to it? The problem I am having is that i am injecting html code in the[详细]
2023-01-24 01:57 分类:问答Sinking DWebBrowserEvents2 events appears to hang programmatic navigation
I posted this question on the MSDN forums, but my experience has been a better quality of answer here on Stack Overflow, so I\'m posting here as well. As I\'ve posted several times before, I\'m workin[详细]
2023-01-20 10:28 分类:问答Can IWebBrowser2 store cookies in a user specified folder?
I am working on a small web browser on c++ using IWebBrowser2, the problem is that when I delete cookies on my browse开发者_Go百科r, they get deleted for IE, and I dont want to interfere with IE cooki[详细]
2023-01-19 03:31 分类:问答How do I create a low-integrity instance of Internet Explorer using CoCreateInstance?
From a standard, non-elevated, medium-integrity process, I need to create an instance of Internet Explorer 7 on Windows Vista, and I need to use CoCreateInstance to do it. I\'ve tried using techniques[详细]
2023-01-17 18:06 分类:问答Calling C++ function from JavaScript script running in a web browser control
I have embedded a web browser control in my c++ application. I want javascript running in the web browser control to be able to call a c++ function/method.[详细]
2023-01-16 23:14 分类:问答Returning string to JavaScript from C++ function
I have a class (JSObject) that implements the IDispatch interface. The class is exposed to JavaScript running in my hosted web browser control (IWebBrowser2).[详细]
2023-01-16 18:05 分类:问答How to get my IHttpNegotiate implementation called by IWebBrowser?
I use cw开发者_高级运维ebpage_src code and I need to update some HTTP request headers while clicking on links. As I understand it can be done with self implementation of IHttpNegotiate->BeginTransacti[详细]
2023-01-16 01:31 分类:问答C++ COM design. Composition vs multiple inheritance
I\'m trying to embed a browser control in my application (IWebBrowser2). I need to implement IDispatch, IDocHostShowUI, IDocHostUIHandler etc to make this work. I am doing this in pure C++/Win32 api.[详细]
2023-01-14 20:46 分类:问答