laptop and a wrench

Error

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".

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM009978
EnviadoJune 28, 2007
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada9.2
Lenguaje del programaVB.Net
Versión corregida9.3
EstadoFixed

Solución alternativa

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)

Pasos para reproducir

ID del error: NIM009978

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga