QAxWidget in translucent window



  • Hi

    I have the folowing code
    @this->setMinimumSize(900, 700);

    this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowSystemMenuHint);
    this->setAttribute(Qt::WA_TranslucentBackground);
    this->activateWindow();

    flash = new QAxWidget(this);
    flash->setControl(QString::fromUtf8("{d27cdb6e-ae6d-11cf-96b8-444553540000}"));
    flash->dynamicCall("LoadMovie(long, string)", 0, QDir::currentPath() + "//mySwf.swf");
    flash->activateWindow();@

    and it seems that my QAxWidget is transparent. The swf calls my functions through ExternalInterface but it's not rendered.

    Any ideea of how i can show the activeX.

    (i need the window to have alpha 0 beacause i need it to have cusom rounded corners)

    Thanks


Log in to reply
 

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