Important: Please read the 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.
    GetWindowLong(winId(), GWL_EXSTYLE) | WS_EX_LAYERED);

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

Log in to reply