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


IApplication.hWnd Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Framework)  

IApplication.hWnd Property

The handle of the application's window.

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

Product Availability

Available with ArcGIS Desktop.

See Also

IApplication Interface

.NET Snippets

Open StyleReferencesDialog | Show Progress Dialog | Get hWnd from ArcGIS Desktop | TimeControl Playback | Statements - Get hWnd from ArcGIS Desktop

.NET Samples

Automate ArcGIS for Desktop applications (Code Files: Form1) | StreetMap routing (Code Files: RoutingForm)

.NET Related Topics

ArcMapUI