QAxWidget don't display



  • I use QWidget as a dialog. And put QAxWidget as a subwidget.
    But if I set the parent widget transparent, the QAxWidget will not display.

    @
    QWidget* widget = new QWidget;
    widget->setAttribute(Qt::WA_TranslucentBackground);
    ......;

    QAxWidget* axBrowser= new QAxWidget(widget);
    axBrowser->setControl(QString::fromUtf8("{8856F961-340A-11D0-A96B-00C04FD705A2}"));
    axBrowser->dynamicCall("Navigate(const QString&)", "www.google.com");
    @

    I try if you use other widget, that will display, only QAxWidget don't display!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.