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

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

.NET Samples

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

.NET Related Topics

ArcMapUI