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


ITOCControl2.hWnd Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > ITOCControl2 Interface > ITOCControl2.hWnd Property
ArcGIS Developer Help

ITOCControl2.hWnd Property

Handle to the window associated with the TOCControl.

[Visual Basic .NET]
Public ReadOnly Property hWnd As Integer
[C#]
public int hWnd {get;}
[C++]
HRESULT get_hWnd(
void
);

Product Availability

Available with ArcGIS Engine.

Description

The operating environment identifies each window, form and control in an application by assigning it a handle, or hWnd. Many ArcObjects methods and Windows API calls require the hWnd as an argument.

See Also

ITOCControl2 Interface

.NET Samples

Schematics Engine application Displaying a TOCControl context menu