iwebbrowser2
Supressing Script Error in IE8 (C++)
I want to prevent IE from showing JS error dialogs, I read that it can be done by setting ScriptErrorsSuppressed = true.[详细]
2023-04-11 03:03 分类:问答IWebBrowser2 object uses IE7 version, instead of the IE version installed on the machine
I\'m developing on a Win7 machine with IE8 browser (same thing occurs also on IE9). I\'ve create an application with an IWebBrowser2 object embedded within a native window.[详细]
2023-03-25 06:00 分类:问答Passing an object from Javascript to C++
I have found Passing an array from Javascript to C++ solution, but I have another task: Passing an object from Javascript to C++ (if I use IWebBrowser2 with IDispatch)[详细]
2023-03-06 07:29 分类:问答embedded web control (IWebBrowser2), embedded javascript's onkeydown and onkeyup not firing
I\'m embedding a web page within my C++ program.The problem that I\'m running into is that within javascript of the embedded page I can capture onkeypress, but onkeydown and onkeyup don\'t fire.[详细]
2023-03-03 12:14 分类:问答Printing to a specific printer using the IE control without changing the default printer
Is there a way for me to pass a PrintDlg structure (or something similar) to my WebBrowser (Internet Explorer / IWebBrowser2) control such that it will print to the printer specified in the PrintDlg w[详细]
2023-03-02 12:42 分类:问答IE BHO browser extension: how to get cookies when they're set, removed, etc
I\'m writing an extension for Internet Explorer, and am wondering how to programmatically detect in a session what cookies get set,开发者_StackOverflow中文版 deleted, modified, etc. per domain.[详细]
2023-03-01 10:43 分类:问答How do I add an event listener using MSHTML's addEventListener in IE9?
The MSDN documentation for addEventListener says it accepts a callback function in the form of an IDispatch * object. From C# (I\'m using COM interop), Visual Studio displays the paramet开发者_StackOv[详细]
2023-02-11 00:47 分类:问答How can I access the JavaScript global object ("window") inside an embedded browser object (the IWebBrowser2 interface)?
I have an HTML page which embeds an IWebBrowser2 ActiveX (i.e. the control is essentially an Internet Explorer browser). I need to write JavaScript in this HTML page which will remove any window.onres[详细]
2023-02-04 15:16 分类:问答Specify User Agent for WPF WebBrowser Control
I need to alter the default User Agent used by the WPF WebBrowser control. I have looked at th开发者_JS百科e properties of the IWebBrowser2 object behind the control, and tried specifying the user age[详细]
2023-02-03 16:48 分类:问答Determining when WebBrowser Control Started processing the HTML
Is there a way to determine when the webbrowser control starts processing the HTML of the URL it navigated to? Looking for any event raised other than onreadystatechange (which does not have clear sta[详细]
2023-01-30 07:28 分类:问答