A handle to the application's main window or NULL if the application does not have a window.
Read-only property
| [Visual Basic .NET] |
|---|
Public Property MainWindow() As Integer |
| [C#] |
|---|
|
| [Managed C++] |
|---|
public: __property int get_MainWindow(); |
| [Unmanaged C++] |
|---|
|
| [Java] |
|---|
public Integer getMainWindow(); |
Returns a Window handle of the main window of the hosting environment.





