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. Win32 controls (QWinHost) not painted on layered (ie. semi-transparent) widget (WS_EX_LAYERED)
Forum Updated to NodeBB v4.3 + New Features

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

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

    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);
    @

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lygstate
      wrote on last edited by
      #2

      I also meet this problem, looking for solutions.!

      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