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





Description

Log message display options.

Members

Member Value Description
eLogMsgDispAll -1 STK displays the message in all the log destination.
eLogMsgDispDefault 0 STK displays the message in the default log destination.
eLogMsgDispMsgWin 1 STK displays the message in the message window.
eLogMsgDispStatusBar 2 STK 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
© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1