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

Win32 controls (QWinHost) not painted on layered (ie. semi-transparent) widget (WS_EX_LAYERED)



  • I ported a win32 control using QWinHost, and put it on a layered (semi-transparent) widget. When I set WS_EX_LAYERED flag, then paint not occurred.
    @
    SetWindowLong(winId(),
    GWL_EXSTYLE,
    GetWindowLong(winId(), GWL_EXSTYLE) | WS_EX_LAYERED);
    @



  • I also meet this problem, looking for solutions.!


Log in to reply