laptop and a wrench

Bug

Select tool is not cleaning up correctly in the ArcEngine VC++ appliication. (ArcGIS 10.0 and Visual Studio 2008).

Last Published: August 25, 2014 ArcGIS Engine
Bug ID Number NIM060932
SubmittedSeptember 7, 2010
Last ModifiedJune 5, 2024
Applies toArcGIS Engine
Version found10.1
Program languageVC++
Operating SystemWindows OS
Operating System Version7
Version Fixed10.1
StatusFixed

Workaround

The workaround is to only create the tool once and then switch between tools with the button clicks rather than creating an instance each time the button is clicked. PageLayoutClearCurrentTool(); if(m_pControlsCircleTool == NULL) { HRESULT hr =m_pControlsCurrentTool.CreateInstance(CLSID_ControlsNewRectangleTool); ASSERT(m_pControlsCurrentTool != NULL); m_pControlsCircleTool = m_pControlsCurrentTool; } else { m_pControlsCurrentTool = m_pControlsCircleTool; } PageLayoutSetCurrentTool();

Steps to Reproduce

Bug ID: NIM060932

Software:

  • ArcGIS Engine

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options