Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Mouse Input in a Windows Forms Application 

Windows Forms includes a variety of mouse events and additional support for customized mouse cursors, mouse capture, and drag-and-drop behavior.

In This Section

How Mouse Input Works in Windows Forms

Provides information about the mouse events and how to get current information and system settings for the mouse.

Mouse Events in Windows Forms

Provides information about the order in which the mouse events occur and how the mouse events are raised within specific controls.

How to: Distinguish Between Clicks and Double-Clicks

Demonstrates how to use single and double clicks to initiate incompatible actions.

Mouse Pointers in Windows Forms

Describes how to change the mouse cursor.

Mouse Capture in Windows Forms

Describes how a control can capture the mouse.

Drag-and-Drop Functionality in Windows Forms

Describes how to implement drag-and-drop behavior.

Related Sections

My.Computer.Mouse Object

Provides information for Visual Basic users about how to access mouse events with the Mouse property.

Accessing the Mouse

Lists topics for accessing the mouse using Visual Basic.

Community Additions

© 2015 Microsoft