laptop and a wrench

Bug

In the MDI Engine application the following error is thrown when the zoom control is added to the toolbar placed on the child form at design: "Unable to get the window handle for the 'AxToolbarControl' control. Windowless ActiveX controls are not supported".

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM009978
SubmittedJune 28, 2007
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
Program languageVB.Net
Version Fixed9.3
StatusFixed

Workaround

If toolbar needs to placed on the child form then zoom control can be added programatically in Form_load event of the child form and re-set the buddy control of the toolbar:AxToolbarControl1.AddItem("esriControls.ControlsMapZoomToolControl", -1, -1, False, -1, ESRI.ArcGIS.SystemUI.esriCommandStyles.esriCommandStyleIconOnly)AxToolbarControl1.SetBuddyControl(AxMapControl1.Object)

Steps to Reproduce

Bug ID: NIM009978

Software:

  • No Product Found

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