--- title: "Mouse Pointers" ms.date: "03/30/2017" helpviewer_keywords: - "pointers [Windows Forms], setting" - "mouse pointers" - "mouse cursors" - "mouse pointers [Windows Forms], setting" - "cursors [Windows Forms], setting" - "mouse [Windows Forms], cursors" ms.assetid: c3400d85-de5b-42e8-abc3-d6088d69ee53 --- # Mouse Pointers in Windows Forms The mouse *pointer*, which is sometimes referred to as the cursor, is a bitmap that specifies a focus point on the screen for user input with the mouse. This topic provides an overview of the mouse pointer in Windows Forms and describes some of the ways to modify and control the mouse pointer. ## Accessing the Mouse Pointer The mouse pointer is represented by the class, and each has a property that specifies the pointer for that control. The class contains properties that describe the pointer, such as the and properties, and methods that can modify the appearance of the pointer, such as the , , and methods. ## Controlling the Mouse Pointer Sometimes you may want to limit the area in which the mouse pointer can be used or change the position the mouse. You can get or set the current location of the mouse using the property of the . In addition, you can limit the area the mouse pointer can be used be setting the property. The clip area, by default, is the entire screen. ## Changing the Mouse Pointer Changing the mouse pointer is an important way of providing feedback to the user. For example, the mouse pointer can be modified in the handlers of the and events to tell the user that computations are occurring and to limit user interaction in the control. Sometimes, the mouse pointer will change because of system events, such as when your application is involved in a drag-and-drop operation. The primary way to change the mouse pointer is by setting the or property of a control to a new . For examples of changing the mouse pointer, see the code example in the class. In addition, the class exposes a set of objects for many different types of pointers, such as a pointer that resembles a hand. To display the wait pointer, which resembles an hourglass, whenever the mouse pointer is on the control, use the property of the class. ## See also - - [Mouse Input in a Windows Forms Application](mouse-input-in-a-windows-forms-application.md) - [Drag-and-Drop Functionality in Windows Forms](drag-and-drop-functionality-in-windows-forms.md)