ArcObjects Library Reference (Editor)  

IObjectInspector.hWND Property

The window handle for the inspector.

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

Product Availability

Available with ArcGIS Desktop.

Remarks

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.


[C#]

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 
{
get
{
return this.Handle.ToInt32();
}
}
[Visual Basic .NET]
Public ReadOnly Property HWND() As Integer Implements ESRI.ArcGIS.Editor.IObjectInspector.HWND
  Get
    HWND = Me.Handle.ToInt32
  End Get
End Property

 

See Also

IObjectInspector Interface