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. Displaying a QT Widget on / overlaying a 3rd Party Window (in Windows)
Qt 6.11 is out! See what's new in the release blog

Displaying a QT Widget on / overlaying a 3rd Party Window (in Windows)

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.2k 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.
  • O Offline
    O Offline
    oracle3001
    wrote on last edited by
    #1

    http://stackoverflow.com/questions/16929090/displaying-a-qt-widget-on-overlaying-a-3rd-party-window-in-windows

    I asked this question a while back and got a good response. However, after finally getting around to trying it, what I find happens is Qt::WindowStaysOnTopHint, results in the QT window of course always being on top, but also allows a 3rd window to be moved inbetween.

    How would I go about modifying this code, such that the overlay just overlays the identified winapi window, and should a 3rd window be dragged over the target window with QT overlay, it is that which sits on top...and vice verse..i.e the QT overlay is in z order always rendered exactky one layer above the target window.

    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