[Qt-interest] remove border and scrollbars from Microsoft Web Browser ActiveX control

Michael Schneider mschneider at voiceinterconnect.de
Fri Nov 27 18:15:14 CET 2009


Hello!

I tried also to set NoClientEdge via setPropertyBag()

QMap<QString, QVariant> a;
a = ui->webbrowser->propertyBag();
a.insert("NoClientEdge",true);
ui->webbrowser->setPropertyBag(a);

This runs without errors. But the borders are still visible. No changes.

Now I want to try this. This is an example from QAxBase::dynamicCall() 
help file.

IWebBrowser2 *webBrowser = 0;
activeX->queryInterface(IID_IWebBrowser2, (void **)&webBrowser);
if (webBrowser) {
    webBrowser->Navigate2(pvarURL);
    webBrowser->Release();
}

But I don't know what IWebBrowser2 is. Has someone any idea?

Michael





More information about the Qt-interest-old mailing list