This document is archived and information here might be outdated.  Recommended version.

IObjectInspector.HWND Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IO > IObjectInspector Interface > IObjectInspector.HWND Property
ArcGIS Developer Help

IObjectInspector.hWND Property

The window handle for the inspector.

[Visual Basic .NET]
Public ReadOnly Property HWND As Integer
public int HWND {get;}

Product Availability

Available with ArcGIS Desktop.


The Object Inpector reads this property to determine what it will display in its right pane. Custom Object Inspectors must supply the hWnd property of the window or control that is going to be displayed.


In the example below, the hWnd property is used to set the handle of a listbox control used to display a custom Feature Inspector. All windows that are children of the referenced window will also appear.

public int HWND 
return this.Handle.ToInt32();
[Visual Basic .NET]
Public ReadOnly Property HWND() As Integer Implements ESRI.ArcGIS.Editor.IObjectInspector.HWND
    HWND = Me.Handle.ToInt32
  End Get
End Property


See Also

IObjectInspector Interface