开发者

How to disable all possible popup messages in CDHtmlDialog?

I use CDHtmlDialog to work with DOM of some HTML content from given URLs. I need to disable all possible popup messages (e.g Security alerts) that can appear as in case of InternetExplorer Browser. In JScript I can set property Silen开发者_JAVA技巧t to true

var oIE = WScript.CreateObject("InternetExplorer.Application","EventIE_");
oIE.Silent = true;

and that's work! How to get same behaviour in CDHtmlDialog?

Thanks


I found the solution!

m_pBrowserApp->put_Silent(VARIANT_TRUE);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜