Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.59 KB

keyboard-input-in-a-windows-forms-application.md

File metadata and controls

30 lines (23 loc) · 1.59 KB
title description ms.date helpviewer_keywords ms.assetid
Keyboard input
Learn about how keyboard input works with Windows Forms so that your application can respond to specific key presses.
03/30/2017
keyboard input [Windows Forms], using in Windows Forms
keyboards [Windows Forms], keyboard input
Windows Forms, keyboard input
68f5bc70-14d5-45c9-b288-7d7b1493ee79

Keyboard Input in a Windows Forms Application

Windows Forms includes standard keyboard events that allow you to respond to specific key presses, and also provides ways for you to intercept, modify, and consume key presses at the application, form, and control level.

In This Section

How Keyboard Input Works
Describes how keyboard messages are processed and transformed into keyboard events.

Using Keyboard Events
Provides information on the types of keyboard events and the information that is received by the keyboard event handlers.

How to: Modify Keyboard Input to a Standard Control
Presents a code example that shows how to modify key values before they reach a control.

How to: Determine Which Modifier Key Was Pressed
Demonstrates how to find out whether SHIFT, ALT, or CTRL was pressed in addition to another key.

How to: Handle Keyboard Input at the Form Level
Presents a code example that shows how to intercept keys before they reach a control.