Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

User Input in Windows Forms

Windows Forms includes a user input model based on events that are raised while processing related Windows messages. The topics in this section provide information on mouse and keyboard user input, including code examples that demonstrate how to perform specific tasks.

User Input in a Windows Forms Application

Provides an overview of user input events and the methods that process Windows messages.

Keyboard Input in a Windows Forms Application

Provides information on keyboard message handling, the different types of keys, and the keyboard events.

Mouse Input in a Windows Forms Application

Provides information on the mouse events and other mouse-related features, including mouse cursors and mouse capture.

How to: Simulate Mouse and Keyboard Events in Code

Demonstrates several different ways to programmatically simulate mouse and keyboard input.

How to: Handle User Input Events in Windows Forms Controls

Presents a code example that handles most user input events and reports information about each event.

User Input Validation in Windows Forms

Describes the methods to validate user input in Windows Forms applications.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.