webbrowser problem
-
How to stop the popup dialog,if an application embeded a webbrowser control,when opening a webpage which has javascript files,it will popup a dialog ask you to confirm whether to run the scripts.I want to know stop stop the dialog,run the java script as default,really thx!
I am not a genius, but shed more sweat!
-
How to stop the popup dialog,if an application embeded a webbrowser control,when opening a webpage which has javascript files,it will popup a dialog ask you to confirm whether to run the scripts.I want to know stop stop the dialog,run the java script as default,really thx!
I am not a genius, but shed more sweat!
And what does it have to do with C++ ? :confused:
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
And what does it have to do with C++ ? :confused:
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
this->put_Silent(VARIANT_TRUE); but how to do that in CHtmlView...
I am not a genius, but shed more sweat!
-
LPDISPATCH lpDisp = this->GetApplication(); if(lpDisp == NULL) return; IWebBrowser2* lpWeb = NULL; if(SUCCEEDED(lpDisp->QueryInterface(IID_IWebBrowser2, (void**)&lpWeb))) { lpWeb->put_Silent (VARIANT_TRUE); }
I am not a genius, but shed more sweat!
Have you already tried
CHtmlView::PutProperty(..)
? :)virtual void BeHappy() = 0;
-
Have you already tried
CHtmlView::PutProperty(..)
? :)virtual void BeHappy() = 0;