Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QAxWidget in translucent window
Qt 6.11 is out! See what's new in the release blog

QAxWidget in translucent window

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SineaNT
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved