AGI STK Util 11 Send comments on this topic.
AgELogMsgDispID Enumeration
See Also  Example
Windows






Windows & Linux

Description

Log message display options.

Members

MemberValueDescription
eLogMsgDispAll-1STK displays the message in all the log destination.
eLogMsgDispDefault0STK displays the message in the default log destination.
eLogMsgDispMsgWin1STK displays the message in the message window.
eLogMsgDispStatusBar2STK displays the message in the status bar.

Remarks

These flags are set by the STK engine to suggest output destination for messages. These flags are mostly valid in the context of STK. Container applications are free to interpret these flags at their convenience, according to their specific logging capabilities.

Example

[Visual Basic .NET]Copy Code
Private Sub stkxApp_OnLogMessage(_
                            ByVal Message As String, _
                            ByVal MsgType As AGI.STKUtil.AgELogMsgType, _
                            ByVal ErrorCode As Integer, _
                            ByVal FileName As String, _
                            ByVal LineNo As Integer, _
                            ByVal DispID As AGI.STKUtil.AgELogMsgDispID) _
                    Handles stkxApp.OnLogMessage

    If (DispID = AGI.STKUtil.AgELogMsgDispID.eLogMsgDispAll) Then
        ...
    End If

End Sub
© 2018 Analytical Graphics, Inc. All Rights Reserved.