Current active tool for the buddy.
[Visual Basic .NET] Public Property CurrentTool As ITool
[C#] public ITool CurrentTool {get; set;}
[C++]
HRESULT get_CurrentTool(
ITool** pTool
);
[C++]
HRESULT putref_CurrentTool(
ITool* pTool
);
[C++]Parameters
pTool [out, retval]pTool is a parameter of type ITool
pTool [in]pTool is a parameter of type ITool
Product Availability
Available with ArcGIS Engine.
Description
The CurrentTool is the tool used to interact with the display area of the IToolbarControl::Buddy. The IToolbarBuddy references this tool so that it can:
- Call ITool::Refresh after a Windows paint event.
- Set the windows cursor to the ITool::Cursor property.
- Respond to mouse events with the ITool::OnMouseUp, ITool::OnMouseDown and ITool::OnMouseMove events.
- Respond to keyboard events with the ITool::OnKeyDown and ITool::OnKeyUp events.