mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[Docs]Replace docs.micrososft.com with learn.microsoft.com (#20662)
* Update SUPPORT.md * Update runner.md * Update guidance.md * Update convert-stringtable-to-resx.ps1 * Update readme.md * Update ControlType.cs * Update README.md * Update CLSID.h * Update GenericProperty`1.cs * Update project-overview.md * Update interop.cpp * Update PreviewHandlerBase.cs * Update indexer.md * Update common.md * Update two_way_pipe_message_ipc.cpp * Update PowerToys.exe.manifest * Update HotkeySettings.cs * push * Update src/tests/win-app-driver/README.md * Update doc/devdocs/akaLinks.md * Update doc/devdocs/modules/launcher/plugins/registry.md
This commit is contained in:
@@ -225,7 +225,7 @@ namespace ColorPicker.Helpers
|
||||
{
|
||||
// If escape key is blocked it means a submenu is open.
|
||||
// Send the escape key to the Window to close that submenu.
|
||||
// Description for LPARAM in https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-keyup#parameters
|
||||
// Description for LPARAM in https://learn.microsoft.com/windows/win32/inputdev/wm-keyup#parameters
|
||||
// It's basically some modifiers + scancode for escape (1) + number of repetitions (1)
|
||||
handled = true;
|
||||
handled &= NativeMethods.PostMessage(_hwndSource.Handle, NativeMethods.WM_KEYDOWN, (IntPtr)NativeMethods.VK_ESCAPE, (IntPtr)0x00010001);
|
||||
|
||||
@@ -11,7 +11,7 @@ using System.Windows.Interop;
|
||||
|
||||
namespace ColorPicker
|
||||
{
|
||||
// https://docs.microsoft.com/en-us/visualstudio/code-quality/ca1060?view=vs-2019
|
||||
// https://learn.microsoft.com/visualstudio/code-quality/ca1060?view=vs-2019
|
||||
// will have to rename
|
||||
public static class NativeMethods
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user