STK X Send comments on this topic.
OnNewMapCtrlRequest Event (AgSTKXApplication)
See Also  Example
WinID
Window identifier.
Windows






Windows & Linux

Description

Triggered when the map control window for a scene is not found or already created.

Syntax

[Visual Basic .NET]
Public Event OnNewMapCtrlRequest( _
   ByVal WinID As Integer _
)

[C#]
public void OnNewMapCtrlRequest(
int WinID
);

[Managed C++]
public: void OnNewMapCtrlRequest(
int WinID
);

[Java]
public  onNewMapCtrlRequest(
int WinID
);

[Unmanaged C++]
public: HRESULT OnNewMapCtrlRequest(
long WinID
);

Parameters

WinID
Window identifier.

Example

[Visual Basic .NET] Copy Code
Private Sub stkxApp_OnNewMapCtrlRequest(ByVal WinID As Integer) _
                Handles stkxApp.OnNewMapCtrlRequest
    MessageBox.Show("New Map Control window is requested for Window ID: " & WinID)
End Sub

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface