MainWindow
Property of IApplication
Description
Main window handle
Property type
Read-Only Property of type ULONG
Syntax
JavaScript
var hWnd = Application.MainWindow;
==== Visual Basic Script ====
hWnd = Application.MainWindow
==== C++ ====
ULONG hWnd; HRESULT hr = Application.get_MainWindow(&hWnd);
===== See Also ===== IApplication