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

    • Bug
    • Resolution: Fixed
    • Major
    • 0.3.17
    • Win32SS
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: