IWpfKeyboardTrackingService::BeginTrackingKeyboard Method (IntPtr, IList<UInt32>^)
Visual Studio 2015
Starts tracking the keyboard.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Parameters
- handle
-
Type:
System::IntPtr
A valid Win32 window handle (HWND) to which messages should be redirected
- messagesToCapture
-
Type:
System.Collections.Generic::IList<UInt32>^
A list of Win32 messages to redirect to the specified window handle
After this method has been called, all keyboard events will be routed to WPF first, before the host application (for example, Visual Studio) sees them.
Show: