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

The implemented nativeEvent message is not match as sent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.11.1
    • Fix Version/s: 5.11.2
    • Component/s: Widgets: Main Window
    • Labels:
      None
    • Environment:
      Windows 10 Version 1803 (17134.112)
    • Platform/s:
      Windows
    • Commits:
      c44e8b25662d096f2bffa02c057104b2a1cdf7c4 qtbase/5.11, 21.6.2018, 5.11.2)

      Description

      caller:

      SendMessage((HWND)winId(), 0x4096 , 0, 0);

      callee:

      nativeEvent(const QByteArray &eventType, void *message, long *result){

      MSG*msg = (MSG*)message;

      qDebug("Msg:%X",msg->message); //won't catch 0x4096

      }

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kleint Friedemann Kleint
              Reporter:
              enonrick Yuchien Huang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes