ESRI.ArcGIS.ADF.Local
m_cursor Field
See Also  Send Feedback
ESRI.ArcGIS.ADF.BaseClasses Namespace > BaseTool Class : m_cursor Field




A System.Windows.Forms.Cursor that is used for this tool, the handle of which is returned by the ITool::Cursor property. Null by default, indicating the default cursor will be used.

Syntax

Visual Basic (Declaration) 
Protected m_cursor As Cursor
Visual Basic (Usage)Copy Code
Dim instance As BaseTool
Dim value As Cursor
 
value = instance.m_cursor
 
instance.m_cursor = value
C# 
protected Cursor m_cursor

Remarks

Note to inheritors: Change the m_cursor field to show a different cursor for your tool's mouse pointer. For example, if you a coding a tool which allows a user to track a rectangle, you may want to change the cursor whilst the mouse button is depressed to indicate the change of state to the user.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.