Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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



  • 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.


Log in to reply