This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControl2 Interface > IMapControl2.hWnd Property (ArcObjects .NET 10.4 SDK) |
Handle to the window associated with the MapControl.
[Visual Basic .NET] Public ReadOnly Property hWnd As Integer
[C#] public int hWnd {get;}
[C++]
HRESULT get_hWnd(
long* hWnd
);
[C++]
Parameters hWnd [out, retval] hWnd is a parameter of type long
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.