Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "keyboard" in [All]

Interfaces

.

    ''' Called by explorer to process keyboard events. Undersatands Tab and F6.

.

    ''' Called by explorer to process keyboard events. Undersatands Tab and F6.

user32

.
Summary
.

/// <summary>Sets the input locale identifier (formerly called the keyboard layout handle) for the calling thread or the current process. The input locale identifier specifies a locale as well as the physical layout of the keyboard</summary>

.

internal static extern HKL ActivateKeyboardLayout(HKL hkl, uint Flags);

.

''' <summary>Sets the input locale identifier (formerly called the keyboard layout handle) for the calling thread or the current process. The input locale identifier specifies a locale as well as the physical layout of the keyboard</summary>

.

Public Shared Function ActivateKeyboardLayout(ByVal nkl As IntPtr, ByVal Flags As uint) As Integer

.
Documentation
[ActivateKeyboardLayout] on MSDN
.

    ''' <summary>The BlockInput function blocks keyboard and mouse input events from reaching applications

.

    ''' <param name="fBlockIt">[in] Specifies the function's purpose. If this parameter is non-zero, keyboard

.

    ''' and mouse input events are blocked. If this parameter is zero, keyboard and mouse events are unblocked.

.

Blocks or unblocks mouse and keyboard input.

.

// overload for use with LowLevelKeyboardProc

.

' overload for use with LowLevelKeyboardProc

.

' overload for use with LowLevelKeyboardProc

.
See
.

/// <para>The DestroyWindow function destroys the specified window. The function sends WM_DESTROY and WM_NCDESTROY messages to the window to deactivate it and remove the keyboard focus from it. The function also destroys the window's menu, flushes the thread message queue, destroys timers, removes clipboard ownership, and breaks the clipboard viewer chain (if the window is at the top of the viewer chain).</para>

.

''' <para>The DestroyWindow function destroys the specified window. The function sends WM_DESTROY and WM_NCDESTROY messages to the window to deactivate it and remove the keyboard focus from it. The function also destroys the window's menu, flushes the thread message queue, destroys timers, removes clipboard ownership, and breaks the clipboard viewer chain (if the window is at the top of the viewer chain).</para>

.

This works not for keyboard only, for mouse also (VK_RBUTTON, VK_LBUTTON).

.

The ManagedWindowsApi project (http://mwinapi.sourceforge.net) provides a KeyboardKey class to detect keyboard state and synthesize keyboard events.

.

This function can greatly boost the performance of any application. When calling Application.DoEvents() to make the UI responsive, it generally decreases application performance. With this function, we make sure there is at least one event (keyboard or mouse) that needs to be processed before calling Application.DoEvents(). (VB2TheMax.com : Francesco Balena)

.
Summary
.

static extern bool GetKeyboardLayoutName([Out] StringBuilder pwszKLID);

.

public static extern bool GetKeyboardLayoutName(IntPtr pwszKLID);

.

  public static extern bool GetKeyboardLayoutName(IntPtr pwszKLID);

.

  string keyboardLanguage;

.

  length = GetKeyboardLayoutName(locale);

.

  keyboardLanguage = locale.ToString().Substring(0, length);

.
Documentation
[GetKeyboardLayoutName] on MSDN
.

Mapping of all keyboard layout IDs on Windows 7 to their respective names

.

      public class KeyboardLayout

.

    private static extern long GetKeyboardLayoutName(StringBuilder pwszKLID);

.

      GetKeyboardLayoutName(name);

.

          return "Chinese (traditional) - us keyboard";

.

          return "Chinese (simplified) -us keyboard";

.

          return "Chinese (traditional, hong kong s.a.r.) - us keyboard";

.

          return "Chinese (simplified, singapore) - us keyboard";

.

          return "Chinese (traditional, macao s.a.r.) - us keyboard";

.
Summary
.

static extern uint GetKeyboardLayoutList(int nBuff, [Out] IntPtr [] lpList);

.

   uint nElements = GetKeyboardLayoutList(0, null);

.

   GetKeyboardLayoutList(ids.Length, ids);

.
Documentation
[GetKeyboardLayoutList] on MSDN
.
Summary
.

static extern bool GetKeyboardLayoutName([Out] StringBuilder pwszKLID);

.

public static extern bool GetKeyboardLayoutName(IntPtr pwszKLID);

.

  public static extern bool GetKeyboardLayoutName(IntPtr pwszKLID);

.

  string keyboardLanguage;

.

  length = GetKeyboardLayoutName(locale);

.

  keyboardLanguage = locale.ToString().Substring(0, length);

.
Documentation
[GetKeyboardLayoutName] on MSDN
.
Summary
.

static extern bool GetKeyboardState(byte [] lpKeyState);

.

    Private Shared Function GetKeyboardState(ByVal keyState() As Byte) As Boolean

.

Private Declare Function GetKeyboardState Lib "user32" (ByVal keyState() As Byte) As Boolean

.

In some cases this function will always return the same array, independent of actual keyboard state. This is due to Windows not updating the virtual key array internally. It has been found that declaring and calling GetKeyState on any key before calling GetKeyboardState will solve this issue.

.

        public static class Keyboard {

.

            if(!NativeMethods.GetKeyboardState(keys)){

.

        internal static extern bool GetKeyboardState(byte[] lpKeyState);

.

    Private Shared Function GetKeyboardState(ByVal keyState() As Byte) As Boolean

.

    Dim result As Boolean = GetKeyboardState(keyState)

.

        Debug.WriteLine("GetKeyBoardState error: " & Marshal.GetLastWin32Error)

.

        Throw New Exception("GetKeyBoardState error: " & Marshal.GetLastWin32Error)

.

    ' Example - the keyboard lights...

.

        public class Keyboard

.
Documentation
[GetKeyboardState] on MSDN
.

The ManagedWindowsApi project (http://mwinapi.sourceforge.net) provides a KeyboardKey class to detect keyboard state and synthesize keyboard events. It can also give you names of keys.

.

Moving the mouse or pressing the keyboard during the test will alter the result, as expected!

.
Summary
Function to read raw data from an input device such as a keyboard, mouse or other HID.
.

            public DeviceInfoKeyboard KeyboardInfo;

.

        public struct DeviceInfoKeyboard

.

            public uint KeyboardMode;

.

    internal struct RID_DEVICE_INFO_KEYBOARD

.

        public int dwKeyboardMode;

.

        public RID_DEVICE_INFO_KEYBOARD keyboard;

.

        KEYBOARD = 1,

.

static extern TODO KeyboardKey(TODO);

.

Declare Function KeyboardKey Lib "user32.dll" (TODO) As TODO

.
Documentation
[KeyboardKey] on MSDN
.

static extern TODO KeyboardProc(TODO);

.

Declare Function KeyboardProc Lib "user32.dll" (TODO) As TODO

.
Documentation
[KeyboardProc] on MSDN
.
Summary
.

static extern IntPtr LoadKeyboardLayout(string pwszKLID, uint Flags);

.

LoadKeyboardLayout("00000429", 1);

.

// This is not alternative, this will set the default input language based on installed keyboard layouts, if

.

//the layout is not installed in regional settings, nothing will happen, but with LoadKeyboardLayout, the input

.
Documentation
[LoadKeyboardLayout] on MSDN
.

static extern TODO LowLevelKeyboardProc(TODO);

.

Declare Function LowLevelKeyboardProc Lib "user32.dll" (TODO) As TODO

.
Documentation
[LowLevelKeyboardProc] on MSDN
.

     type = EnumLib.INPUT_TYPE.INPUT_KEYBOARD,

.

     type = EnumLib.INPUT_TYPE.INPUT_KEYBOARD,

.

     type = EnumLib.INPUT_TYPE.INPUT_KEYBOARD,

.

     type = EnumLib.INPUT_TYPE.INPUT_KEYBOARD,

.

     type = EnumLib.INPUT_TYPE.INPUT_KEYBOARD,

.

     type = EnumLib.INPUT_TYPE.INPUT_KEYBOARD,

.

   $_inputList.Add( $( New-Object Testing.Windows3+INPUT -Property @{ type = [Testing.Windows3+INPUT_TYPE]::KEYBOARD ; U = $( New-Object Testing.Windows3+InputUnion -Property @{ ki = $( New-Object Testing.Windows3+KEYBDINPUT -Property @{ wVk = [Testing.Windows3+VirtualKeyShort]::KEY_S } ) } ) } ) )

.

   $_inputList.Add( $( New-Object Testing.Windows3+INPUT -Property @{ type = [Testing.Windows3+INPUT_TYPE]::KEYBOARD ; U = $( New-Object Testing.Windows3+InputUnion -Property @{ ki = $( New-Object Testing.Windows3+KEYBDINPUT -Property @{ wVk = [Testing.Windows3+VirtualKeyShort]::KEY_S ; dwFlags = $( [Testing.Windows3+KEYEVENTF]::KEYUP ) } ) } ) } ) )

.

   $_inputList.Add( $( New-Object Testing.Windows3+INPUT -Property @{ type = [Testing.Windows3+INPUT_TYPE]::KEYBOARD ; U = $( New-Object Testing.Windows3+InputUnion -Property @{ ki = $( New-Object Testing.Windows3+KEYBDINPUT -Property @{ wVk = [Testing.Windows3+VirtualKeyShort]::MENU  } ) } ) } ) )

.

   $_inputList.Add( $( New-Object Testing.Windows3+INPUT -Property @{ type = [Testing.Windows3+INPUT_TYPE]::KEYBOARD ; U = $( New-Object Testing.Windows3+InputUnion -Property @{ ki = $( New-Object Testing.Windows3+KEYBDINPUT -Property @{ wVk = [Testing.Windows3+VirtualKeyShort]::KEY_E } ) } ) } ) )

.

   $_inputList.Add( $( New-Object Testing.Windows3+INPUT -Property @{ type = [Testing.Windows3+INPUT_TYPE]::KEYBOARD ; U = $( New-Object Testing.Windows3+InputUnion -Property @{ ki = $( New-Object Testing.Windows3+KEYBDINPUT -Property @{ wVk = [Testing.Windows3+VirtualKeyShort]::MENU  ; dwFlags = $( [Testing.Windows3+KEYEVENTF]::KEYUP ) } ) } ) } ) )

.

   $_inputList.Add( $( New-Object Testing.Windows3+INPUT -Property @{ type = [Testing.Windows3+INPUT_TYPE]::KEYBOARD ; U = $( New-Object Testing.Windows3+InputUnion -Property @{ ki = $( New-Object Testing.Windows3+KEYBDINPUT -Property @{ wVk = [Testing.Windows3+VirtualKeyShort]::KEY_E ; dwFlags = $( [Testing.Windows3+KEYEVENTF]::KEYUP ) } ) } ) } ) )

.

   $_inputList.Add( $( New-Object Testing.Windows3+INPUT -Property @{ type = [Testing.Windows3+INPUT_TYPE]::KEYBOARD ; U = $( New-Object Testing.Windows3+InputUnion -Property @{ ki = $( New-Object Testing.Windows3+KEYBDINPUT -Property @{ wVk = [Testing.Windows3+VirtualKeyShort]::CONTROL  } ) } ) } ) )

.

   $_inputList.Add( $( New-Object Testing.Windows3+INPUT -Property @{ type = [Testing.Windows3+INPUT_TYPE]::KEYBOARD ; U = $( New-Object Testing.Windows3+InputUnion -Property @{ ki = $( New-Object Testing.Windows3+KEYBDINPUT -Property @{ wVk = [Testing.Windows3+VirtualKeyShort]::KEY_F } ) } ) } ) )

.

   $_inputList.Add( $( New-Object Testing.Windows3+INPUT -Property @{ type = [Testing.Windows3+INPUT_TYPE]::KEYBOARD ; U = $( New-Object Testing.Windows3+InputUnion -Property @{ ki = $( New-Object Testing.Windows3+KEYBDINPUT -Property @{ wVk = [Testing.Windows3+VirtualKeyShort]::CONTROL  ; dwFlags = $( [Testing.Windows3+KEYEVENTF]::KEYUP ) } ) } ) } ) )

.

   $_inputList.Add( $( New-Object Testing.Windows3+INPUT -Property @{ type = [Testing.Windows3+INPUT_TYPE]::KEYBOARD ; U = $( New-Object Testing.Windows3+InputUnion -Property @{ ki = $( New-Object Testing.Windows3+KEYBDINPUT -Property @{ wVk = [Testing.Windows3+VirtualKeyShort]::KEY_F ; dwFlags = $( [Testing.Windows3+KEYEVENTF]::KEYUP ) } ) } ) } ) )

.

    ///     Brings the thread that created the specified window into the foreground and activates the window. Keyboard input is

.
Summary
.

static extern bool SetKeyboardState(byte [] lpKeyState);

.
Documentation
[SetKeyboardState] on MSDN
.

    Private Shared Function SetKeyboardState(ByVal lpKeyState() As Byte) As Boolean

.

    Private Declare Function GetKeyboardState Lib "user32" (ByRef pbKeyState As Byte) As Integer

.

    Private Declare Function SetKeyboardState Lib "user32" (ByRef lppbKeyState As Byte) As Integer

.

    GetKeyboardState(keys(0))

.

        SetKeyboardState(keys(0))

.

        SetKeyboardState(keys(0))

.

    GetKeyboardState(keys(0))

.

        SetKeyboardState(keys(0))

.

        SetKeyboardState(keys(0))

.

.NET 2.0: My.Computer.Keyboard.SendKeys

.

///         <term>WH_KEYBOARD (2)</term>

.

///         KeyboardProc hook procedure.

.

///         <term>WH_KEYBOARD_LL (13)</term>

.

///         Installs a hook procedure that monitors low-level keyboard input events. For more information,

.

///         see the LowLevelKeyboardProc hook procedure.

.

///         <term>WH_KEYBOARD (2)</term>

.

///         <term>WH_KEYBOARD_LL (13)</term>

.

///     WH_KEYBOARD, WH_JOURNAL*, WH_SHELL, and low-level hooks can be called on the thread that installed the hook

.

///         <term>WH_KEYBOARD </term>

.

///         <term>WH_KEYBOARD_LL </term>

.

    hHook = SetWindowsHookEx(HookType.WH_KEYBOARD_LL, hook, hModule, 0);

.

// this sample installs a keyboard hook

.

     // setup a keyboard hook

.

     SetWindowsHookEx(HookType.WH_KEYBOARD, this.myCallbackDelegate, IntPtr.Zero, AppDomain.GetCurrentThreadId());

.

' My sample installs a keyboard hook

.

    ' setup a keyboard hook

.

    SetWindowsHookEx(HookType.WH_KEYBOARD, Me.myCallbackDelegate, IntPtr.Zero, AppDomain.GetCurrentThreadId())

.

MSDN article on KeyboardProc: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/hooks/hookreference/hookfunctions/keyboardproc.asp

.

Stephen Toub entry on low-level keyboard hook in C#: http://blogs.msdn.com/toub/archive/2006/05/03/589423.aspx

.

Convert a ASCI Character into Unicode Character with the Keyboard Layout

.

    static extern bool GetKeyboardState(byte [] lpKeyState);

.

    static extern IntPtr GetKeyboardLayout(uint idThread);

.

    bool bKeyStateStatus = GetKeyboardState(bKeyState);

.

    IntPtr HKL = GetKeyboardLayout(0);

.

Convert a ASCI Character into Unicode Character with the Keyboard Layout

.

    static extern bool GetKeyboardState(byte [] lpKeyState);

.

    static extern IntPtr GetKeyboardLayout(uint idThread);

.

    bool bKeyStateStatus = GetKeyboardState(bKeyState);

.

    IntPtr HKL = GetKeyboardLayout(0);

. * Various extended or enhanced keyboards
.

    static extern bool UnloadKeyboardLayout(IntPtr hkl);

.

    static extern IntPtr LoadKeyboardLayout(string pwszKLID, uint Flags);

.

    public class KeyboardPointer : IDisposable

.

      public KeyboardPointer(int klid)

.

        pointer = LoadKeyboardLayout(klid.ToString("X8"), 1);

.

      public KeyboardPointer(CultureInfo culture)

.

        :this(culture.KeyboardLayoutId){}

.

        UnloadKeyboardLayout(pointer);

.

      ~KeyboardPointer()

.

        UnloadKeyboardLayout(pointer);

.

        using(var keyboard = new KeyboardPointer(culture))

.

        if(keyboard.GetKey(test, out key))

.

    static extern bool UnloadKeyboardLayout(IntPtr hkl);

.

    static extern IntPtr LoadKeyboardLayout(string pwszKLID, uint Flags);

.

    public class KeyboardPointer : IDisposable

.

      public KeyboardPointer(int klid)

.

        pointer = LoadKeyboardLayout(klid.ToString("X8"), 1);

.

      public KeyboardPointer(CultureInfo culture)

.

        :this(culture.KeyboardLayoutId){}

.

        UnloadKeyboardLayout(pointer);

.

      ~KeyboardPointer()

.

        UnloadKeyboardLayout(pointer);

.

        using(var keyboard = new KeyboardPointer(culture))

.

        if(keyboard.GetKey(test, out key))

msvcrt

34: kbhit
.
Summary
Checks the console for keyboard input.
35: _spawn
.

                    // or keyboard. Calls to _cwait against the new process will

wtsapi32

.

            /// The physical console is the monitor, keyboard, and mouse.

Structures

37: INPUT
.

      INPUT_KEYBOARD = 1,

.

      INPUT_KEYBOARD = 1,

.
Summary
The KBDLLHOOKSTRUCT structure contains information about a low-level keyboard input event
.

private static IntPtr LowLevelKeyboardProc(int nCode, IntPtr wParam, IntPtr lParam)

.
Summary
The KEYBDINPUT structure contains information about a simulated keyboard event. It's part of the INPUT structure, and is used for the SendInput function.
.

        ///Left Windows key (Microsoft Natural keyboard)

.

        ///Right Windows key (Natural keyboard)

.

        ///Applications key (Natural keyboard)

.

        ///Used for miscellaneous characters; it can vary by keyboard.

.

        ///Used for miscellaneous characters; it can vary by keyboard.

.

        ///Used for miscellaneous characters; it can vary by keyboard.

.

        ///Used for miscellaneous characters; it can vary by keyboard.

.

        ///Used for miscellaneous characters; it can vary by keyboard.

.

        ///Used for miscellaneous characters; it can vary by keyboard.

.

        ///Used for miscellaneous characters; it can vary by keyboard.

.

        ///Used for miscellaneous characters; it can vary by keyboard.

.

        ///Windows 2000/XP: Either the angle bracket key or the backslash key on the RT 102-key keyboard

.

        ///The VK_PACKET key is the low word of a 32-bit Virtual Key value used for non-keyboard input methods. For more information,

.
Summary
The KEY_EVENT_RECORD structure is used to report keyboard input events in a console INPUT_RECORD structure.
.

    /// <summary>Handle to the target device. If NULL, it follows the keyboard focus.</summary>

.

    ''' <summary>Handle to the target device. If NULL, it follows the keyboard focus.</summary>

.
Summary
.

    /// Value type for raw input from a keyboard.

.

    public struct RAWKEYBOARD

.

        public RawKeyboardFlags Flags;

.

    ''' Value type for raw input from a keyboard.

.

    Public Structure RAWKEYBOARD

.

    Public Flags As RawKeyboardFlags

.
Documentation
[RAWKEYBOARD] on MSDN
.

   public const int INPUT_KEYBOARD  = 1;

.

    INPUT_KEYBOARD = 1

coredll

.
Summary
The keybd_event function synthesizes a keystroke. The system can use such a synthesized keystroke to generate a WM_KEYUP or WM_KEYDOWN message. The keyboard driver's interrupt handler calls the keybd_event function (from msdn.microsoft.com)
.

static extern uint SendInput(uint cInputs, /* [MarshalAs(UnmanagedType.LPArray)] */ KEYBOARDINPUT[] inputs, int cbSize);

.

        public struct KEYBOARDINPUT

.

        public const uint INPUT_KEYBOARD = 1;

.

        public static extern uint SendInput(uint cInputs, /* [MarshalAs(UnmanagedType.LPArray)] */ KEYBOARDINPUT[] inputs, int cbSize);

.

        KEYBOARDINPUT[] inputs;

.

        inputs = new cTabControl.KEYBOARDINPUT[2];

.

        inputs[0].type = inputs[1].type = cTabControl.INPUT_KEYBOARD;

.

        KEYBOARDINPUT[] inputs;

.

        inputs = new cTabControl.KEYBOARDINPUT[4];

.

        inputs[0].type = inputs[1].type = inputs[2].type = inputs[3].type = cTabControl.INPUT_KEYBOARD;

.

        KEYBOARDINPUT[] inputs;

.

        inputs = new cTabControl.KEYBOARDINPUT[4];

.

        inputs[0].type = inputs[1].type = inputs[2].type = inputs[3].type = cTabControl.INPUT_KEYBOARD;

.

        KEYBOARDINPUT[] inputs;

.

        inputs = new cTabControl.KEYBOARDINPUT[6];

.

        inputs[0].type = inputs[1].type = inputs[2].type = inputs[3].type = inputs[4].type = inputs[5].type = cTabControl.INPUT_KEYBOARD;

.

public static readonly Guid ClsidKeyboard = new Guid("42429667-ae04-11d0-a4f8-00aa00a749b9");

imm32

.

    IntPtr hKL = GetKeyboardLayout(0);

Constants

.

    public static readonly Guid GUID_DEVCLASS_KEYBOARD = new Guid("{0x4d36e96b, 0xe325, 0x11ce, {0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18}}");

.

    public static Guid GUID_DEVINTERFACE_KEYBOARD = new Guid("884b96c3-56ef-11d1-bc8c-00a0c91405dd");

51: WA_
.

'''the SetActiveWindow function or by use of the keyboard interface to select the window).

.

   '''the SetActiveWindow function or by use of the keyboard interface to select the window).

.

        /// Invalid keyboard layout handle.

.

        public const int ERROR_INVALID_KEYBOARD_HANDLE = 1457;

53: WM
.
WM_CHAR 0x102 The WM_CHAR message is posted to the window with the keyboard focus when a WM_KEYDOWN message is translated by the TranslateMessage function. The WM_CHAR message contains the character code of the key that was pressed.
.
WM_CHARTOITEM 0x2F Sent by a list box with the LBS_WANTKEYBOARDINPUT style to its owner in response to a WM_CHAR message.
.
WM_DEADCHAR 0x103 The WM_DEADCHAR message is posted to the window with the keyboard focus when a WM_KEYUP message is translated by the TranslateMessage function. WM_DEADCHAR specifies a character code generated by a dead key. A dead key is a key that generates a character, such as the umlaut (double-dot), that is combined with another character to form a composite character. For example, the umlaut-O character (Ö) is generated by typing the dead key for the umlaut character, and then typing the O key.
.
WM_GETDLGCODE 0x87 The WM_GETDLGCODE message is sent to the window procedure associated with a control. By default, the system handles all keyboard input to the control; the system interprets certain types of keyboard input as dialog box navigation keys. To override this default behavior, the control can respond to the WM_GETDLGCODE message to indicate the types of input it wants to process itself.
.
WM_HELP 0x53 Indicates that the user pressed the F1 key. If a menu is active when F1 is pressed, WM_HELP is sent to the window associated with the menu; otherwise, WM_HELP is sent to the window that has the keyboard focus. If no window has the keyboard focus, WM_HELP is sent to the currently active window.
.
WM_INPUTLANGCHANGEREQUEST 0x50 The WM_INPUTLANGCHANGEREQUEST message is posted to the window with the focus when the user chooses a new input language, either with the hotkey (specified in the Keyboard control panel application) or from the indicator on the system taskbar. An application can accept the change by passing the message to the DefWindowProc function or reject the change (and prevent it from taking place) by returning immediately.
.
WM_KEYDOWN 0x100 The WM_KEYDOWN message is posted to the window with the keyboard focus when a nonsystem key is pressed. A nonsystem key is a key that is pressed when the ALT key is not pressed.
.
WM_KEYFIRST 0x100 This message filters for keyboard messages.
.
WM_KEYLAST 0x108 This message filters for keyboard messages.
.
WM_KEYUP 0x101 The WM_KEYUP message is posted to the window with the keyboard focus when a nonsystem key is released. A nonsystem key is a key that is pressed when the ALT key is not pressed, or a keyboard key that is pressed when a window has the keyboard focus.
.
WM_KILLFOCUS 0x8 The WM_KILLFOCUS message is sent to a window immediately before it loses the keyboard focus.
.
WM_NEXTDLGCTL 0x28 The WM_NEXTDLGCTL message is sent to a dialog box procedure to set the keyboard focus to a different control in the dialog box
.
WM_PALETTECHANGED 0x311 This message is sent by the OS to all top-level and overlapped windows after the window with the keyboard focus realizes its logical palette. This message enables windows that do not have the keyboard focus to realize their logical palettes and update their client areas.
.
WM_QUERYNEWPALETTE 0x30F This message informs a window that it is about to receive the keyboard focus, giving the window the opportunity to realize its logical palette when it receives the focus.
.
WM_SYSCHAR 0x106 The WM_SYSCHAR message is posted to the window with the keyboard focus when a WM_SYSKEYDOWN message is translated by the TranslateMessage function. It specifies the character code of a system character key — that is, a character key that is pressed while the ALT key is down.
.
WM_SYSDEADCHAR 0x107 The WM_SYSDEADCHAR message is sent to the window with the keyboard focus when a WM_SYSKEYDOWN message is translated by the TranslateMessage function. WM_SYSDEADCHAR specifies the character code of a system dead key — that is, a dead key that is pressed while holding down the ALT key.
.
WM_SYSKEYDOWN 0x104 The WM_SYSKEYDOWN message is posted to the window with the keyboard focus when the user presses the F10 key (which activates the menu bar) or holds down the ALT key and then presses another key. It also occurs when no window currently has the keyboard focus; in this case, the WM_SYSKEYDOWN message is sent to the active window. The window that receives the message can distinguish between these two contexts by checking the context code in the lParam parameter.
.
WM_SYSKEYUP 0x105 The WM_SYSKEYUP message is posted to the window with the keyboard focus when the user releases a key that was pressed while the ALT key was held down. It also occurs when no window currently has the keyboard focus; in this case, the WM_SYSKEYUP message is sent to the active window. The window that receives the message can distinguish between these two contexts by checking the context code in the lParam parameter.
.
WM_VKEYTOITEM 0x2E Sent by a list box with the LBS_WANTKEYBOARDINPUT style to its owner in response to a WM_KEYDOWN message.

Enums

.

    FILE_DEVICE_KEYBOARD = 0x0b,

.

    FILE_DEVICE_KEYBOARD = &Hb

55: DLGC
.

    /// <summary> Control processes all keyboard input. </summary>

.

    /// <summary>Keyboard controls.</summary>

.

    Keyboard = 0x07,

.

    ''' <summary>Keyboard controls.</summary>

.

    Keyboard = &H7

.

    /// <summary>Keyboard controls.</summary>

.

    Keyboard = 0x07,

.

    ''' <summary>Keyboard controls.</summary>

.

    Keyboard = &H7

.
Summary
.

    /// <summary>Keyboard Layout API</summary>

.

Enum HKL Keyboard Layout API

.

     WH_KEYBOARD = 2,

.

     WH_KEYBOARD_LL = 13,

.

     WH_KEYBOARD = 2

.

     WH_KEYBOARD_LL = 13

60: KLF
.
Summary

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: