Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] ExtendedKey #112

Open
BBUBBA opened this issue Oct 1, 2021 · 1 comment
Open

[Bug] ExtendedKey #112

BBUBBA opened this issue Oct 1, 2021 · 1 comment

Comments

@BBUBBA
Copy link

BBUBBA commented Oct 1, 2021

Left Menu, Menu

Left Control, Control

Shift Keys is Not ExtendedKey.

If you Check

  1. LMenu Down
  2. F4 Down
  3. LMenu Up
  4. F4 Up
  5. Double Click Folder Icon on Desktop
  6. you can see Folder Infomation ( Alt Down State )

LMenu is Half Down State ( Not Up ).

※ Half Down is Crazy State. Some program Alt Down State & Some Program Not down State;

if you need Check About ExtendedKey you can Check at Spy++ Message

ps. I tried Check long Time for Solve that.... Thanks your Support.

My Code

    public static bool IsExtendedKey(VirtualKeyCode keyCode)
    {
        if (keyCode == VirtualKeyCode.RCONTROL ||
            keyCode == VirtualKeyCode.RMENU ||

            keyCode == VirtualKeyCode.RETURN ||
            keyCode == VirtualKeyCode.DIVIDE ||

            keyCode == VirtualKeyCode.HOME ||
            keyCode == VirtualKeyCode.PRIOR ||
            keyCode == VirtualKeyCode.NEXT ||
            keyCode == VirtualKeyCode.END ||
            keyCode == VirtualKeyCode.INSERT ||
            keyCode == VirtualKeyCode.DELETE ||

            keyCode == VirtualKeyCode.LEFT ||
            keyCode == VirtualKeyCode.UP ||
            keyCode == VirtualKeyCode.RIGHT ||
            keyCode == VirtualKeyCode.DOWN

            //keyCode == VirtualKeyCode.NUMLOCK ||
            //keyCode == VirtualKeyCode.CANCEL ||
            //keyCode == VirtualKeyCode.SNAPSHOT
            )
        {
            return true;
        }
        else
        {
            return false;
        }
    }
@Gh0stWalk3r
Copy link
Member

Hello @BBUBBA ,
thanks for raising this issue.
Please bear with me as this will definitely cause me a lot of time to figure out 😅 .
Any kind of additional information, like on which OS did you encounter the issue, would definitely help me to narrow it down faster.
Have a nice day 😄 and sorry for the late reply,
Gregor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants