Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-92601

native window with qt::popup style parent window no work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 5.12.9
    • Fix Version/s: None
    • Component/s: Widgets: Main Window
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      native window with qt::popup style parent window no work,

       

      in the controllerwindow.cpp, the two line code

      HWND hwnd = CreateWindowEx(WS_EX_NOACTIVATE, L"BUTTON", L"xx", HWND hwnd = CreateWindowEx(WS_EX_NOACTIVATE, L"BUTTON", L"xx", BS_PUSHBUTTON | WS_CHILD, 0, 0, 100, 100, (HWND)previewWindow->winId(), NULL, NULL, NULL); ShowWindow(hwnd, SW_SHOWNOACTIVATE);

      don;t work well, the button didn't have message process

      see the demo,

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            magiclhd magiclhd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes