-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want my BHO to listen to onmousedown event of some element in a certain webpage.
I have all the code that find the specific element, and in msdn its says that I need to use the get_onmousedown event. I came up with this code.
CComQIPtr<IHTMLElement> someElement;
VARIANT mouse_eve;
someElement->get_onmousedown(&mouse_eve);
The…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Firefox has the Sandbox and evalInSandbox(). Chrome has sandboxed execution in their content scripts (they call it isolated execution). I'm looking for the same thing in an IE browser extension.
I can load a javascript file, then call evalScript(), but the code executes in the same environment as…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I am trying to build an IE BHO in C# for taking the snapshot of a webpage loaded in the IE browser. Here is what I'm trying to do:
public class ShowToolbarBHO : BandObjectLib.IObjectWithSite
{
IWebBrowser2 webBrowser = null;
public void SetSite (Object site)
{
.......
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I don't know if anyone familiar with BHO (Browser Helper Object), but an expert in c++ can help me too.
In my BHO I want to run the OnDocumentComplete() function only on the main frame - the first container and not all the Iframes inside the current page. (an alternative is to put some code only…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to build an IE BHO in C#. I would like to receive the WM_GETMINMAXINFO messages sent to the internet explorer window in which my BHO is running. How can this be done?
Thanks,
simil
>>> More