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

Improper WM messages sent to edit control.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Win32SS
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      WM_COMMAND msg is being sent to edit control by context menu and should not be

      A good example of this causing problems is any vb app with an edit control.
      Trying to use context menu crashes application due to WM_COMMAND.

      Menu.c function MenuExecFocusedItem is where the problem is.

      All tests i have done on windows dont show this message being sent to an edit control. I believe WM_COMMAND does get sent from menu control if the window is the main window, thought not tested.

      To fix this, the edit control needs to handle WM_MENUSELECT and send clip board message to iself based on the last WM_MENUSELECT msg received, As the very last WM_MENUSELECT has wparam ffff0000 and lparam 0 which is menu destruction notification.

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            bugboy bugboy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: