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

GetKeyState does not work if the window is not active.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None

    Description

      If the window that calls the GetKeyState is active, the function works correctly. If window not active the function not returns the current state of the keys. Instead, it uses the "stored" keys state, before to switch to another window. Test program attached. The program uses a timer to call GetKeyState. Also, after switching back to the program, calls the GetKeyState function does not reset the status values "stored" keys, yet this keys not press again.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amber amber
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: