Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-7054

WM_RBUTTONUP emitted by error when right-clicking on the title-bar of an application

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.3.17
    • Component/s: Win32SS
    • Labels:
      None

      Description

      Contrary to what Windows does, ReactOS emits a WM_RBUTTONUP message when you right-click on the title-bar of an application, and before sending the WM_CONTEXTMENU message, so that, if you internally deal with WM_RBUTTONUP and you don't let afterwards the default Window Procedure dealing with this message, you never get the title-bar context menu, aka. the window system menu.

      Windows :
      ========

      • Right-click on the title-bar
      • WM_NBUTTONDOWN
      • WM_CONTEXTMENU

      ReactOS :
      ========

      • Right-click on the title-bar
      • WM_NBUTTONDOWN ?
      • WM_RBUTTONUP
        -WM_CONTEXTMENU

      Here is a test app programmed by Edijus and Grégory Macario Harbs.

        Attachments

        1. 58371.PNG
          58371.PNG
          27 kB
        2. patch_ncrbuttonup.patch
          3 kB
        3. snapshot7.png
          snapshot7.png
          57 kB
        4. test_mouse.zip
          156 kB
        5. TitleBarEvents.zip
          372 kB

          Activity

            People

            • Assignee:
              jimtabor jimtabor
              Reporter:
              hbelusca hbelusca
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: