This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more
Microsoft Logo
Gray Pipe
Developer Network Developer Network Developer
Sign in

Subscriber portal

Get tools
  • Downloads
    • Visual Studio
    • SDKs
    • Trial software
      • Free downloads
      • Office resources
      • SharePoint Server 2013 resources
      • SQL Server 2014 Express resources
      • Windows Server 2012 resources
  • Programs
    • Subscriptions
      • Overview
      • Administrators
    • Students
      • Microsoft Imagine
      • Microsoft Student Partners
    • ISV
    • Startups
    • Events
  • Community
    • Magazine
    • Forums
    • Blogs
    • Channel 9
  • Documentation
    • APIs and reference
    • Dev centers
    • Samples
    • Retired content
search clear
We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
Keyboard and Mouse Input Keyboard Input Keyboard Input Reference
Keyboard Input Reference Keyboard Input Functions
Keyboard Input Functions
Keyboard Input Functions
Keyboard Input Functions
ActivateKeyboardLayout
BlockInput
EnableWindow
GetActiveWindow
GetAsyncKeyState
GetFocus
GetKBCodePage
GetKeyboardLayout
GetKeyboardLayoutList
GetKeyboardLayoutName
GetKeyboardState
GetKeyboardType
GetKeyNameText
GetKeyState
GetLastInputInfo
IsWindowEnabled
keybd_event
LoadKeyboardLayout
MapVirtualKey
MapVirtualKeyEx
OemKeyScan
RegisterHotKey
SendInput
SetActiveWindow
SetFocus
SetKeyboardState
ToAscii
ToAsciiEx
ToUnicode
ToUnicodeEx
UnloadKeyboardLayout
UnregisterHotKey
VkKeyScan
VkKeyScanEx
Keyboard Input Messages
Keyboard Input Notifications
Keyboard Input Structures
Keyboard Input Constants
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.
This documentation is archived and is not being maintained.

Keyboard Input Functions

In This Section

  • ActivateKeyboardLayout
  • BlockInput
  • EnableWindow
  • GetActiveWindow
  • GetAsyncKeyState
  • GetFocus
  • GetKBCodePage
  • GetKeyboardLayout
  • GetKeyboardLayoutList
  • GetKeyboardLayoutName
  • GetKeyboardState
  • GetKeyboardType
  • GetKeyNameText
  • GetKeyState
  • GetLastInputInfo
  • IsWindowEnabled
  • keybd_event
  • LoadKeyboardLayout
  • MapVirtualKey
  • MapVirtualKeyEx
  • OemKeyScan
  • RegisterHotKey
  • SendInput
  • SetActiveWindow
  • SetFocus
  • SetKeyboardState
  • ToAscii
  • ToAsciiEx
  • ToUnicode
  • ToUnicodeEx
  • UnloadKeyboardLayout
  • UnregisterHotKey
  • VkKeyScan
  • VkKeyScanEx

 

 

Show:
Print Export (0)
Print Share
IN THIS ARTICLE
    Is this page helpful?
    Additional feedback?
    1500 characters remaining
    Thank you! We appreciate your feedback.

    Dev centers

    • Windows
    • Office
    • Visual Studio
    • Microsoft Azure
    • More...

    Learning resources

    • Microsoft Virtual Academy
    • Channel 9
    • MSDN Magazine

    Community

    • Forums
    • Blogs
    • Codeplex

    Support

    • Self support

    Programs

    • BizSpark (for startups)
    • Microsoft Imagine (for students)
    United States (English)
    • Newsletter
    • Privacy & cookies
    • Terms of use
    • Trademarks
    logo © 2017 Microsoft
    © 2017 Microsoft