ESRI.ArcGIS.ADF
m_cursor Field
See Also  Send comments on this topic.
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.

See Also

© 2010 All Rights Reserved.