STK UI PluginsSend comments on this topic.
MainWindow Property (IAgUiPluginSite)
See Also
Windows





Windows & Linux

Description

A handle to the application's main window or NULL if the application does not have a window.

Property type

Read-only property

Syntax

[Visual Basic .NET]
Public Property MainWindow() As Integer
[C#]
public int MainWindow {get;}
[Managed C++]
public: __property int get_MainWindow();
[Unmanaged C++]
public: HRESULT get_MainWindow(
    int * pWndHandle
);
[Java]
public Integer getMainWindow();

Remarks

Returns a Window handle of the main window of the hosting environment.

See Also

© 2025 Analytical Graphics, Inc. All Rights Reserved.