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

[ShortcutGuide] replace virtual code to suppress the Start menu #4888

Closed
enricogior opened this issue Jul 9, 2020 · 3 comments
Closed

[ShortcutGuide] replace virtual code to suppress the Start menu #4888

enricogior opened this issue Jul 9, 2020 · 3 comments
Labels
Area-Quality Stability, Performance, Etc. Product-Shortcut Guide Refers to the Shortcut Guide PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@enricogior
Copy link
Contributor

As suggested in #4874, consider replacing 0xCF with 0xFF

INPUT input[3] = { {}, {}, {} };
input[0].type = INPUT_KEYBOARD;
input[0].ki.wVk = 0xCF;
input[0].ki.dwExtraInfo = CommonSharedConstants::KEYBOARDMANAGER_INJECTED_FLAG;
input[1].type = INPUT_KEYBOARD;
input[1].ki.wVk = 0xCF;
input[1].ki.dwFlags = KEYEVENTF_KEYUP;
input[1].ki.dwExtraInfo = CommonSharedConstants::KEYBOARDMANAGER_INJECTED_FLAG;
input[2].type = INPUT_KEYBOARD;
input[2].ki.wVk = vk_code;
input[2].ki.dwFlags = KEYEVENTF_KEYUP;
input[2].ki.dwExtraInfo = CommonSharedConstants::KEYBOARDMANAGER_INJECTED_FLAG;
SendInput(3, input, sizeof(INPUT));

@enricogior enricogior added Product-Shortcut Guide Refers to the Shortcut Guide PowerToy Area-Quality Stability, Performance, Etc. labels Jul 9, 2020
@ghost ghost added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Jul 9, 2020
@enricogior enricogior removed the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Jul 9, 2020
@crutkas
Copy link
Member

crutkas commented Sep 14, 2020

seems like small cost item, @enrico, any reason not to include for 0.23?

@enrico
Copy link

enrico commented Sep 14, 2020

@crutkas , you've got the wrong Enrico !

@enricogior
Copy link
Contributor Author

@crutkas
OK.

@enricogior enricogior added the Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. label Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Quality Stability, Performance, Etc. Product-Shortcut Guide Refers to the Shortcut Guide PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

No branches or pull requests

3 participants