Solid Edge Framework Type Library
ActiveStatusBarPart Property
Description
Sets and returns the current active status bar part.
Property type
Read-write property
Syntax
Visual Basic
Public Property ActiveStatusBarPart As Integer
Remarks
The status bar can be divided up into a number of "Parts" or sections. The ActiveStatusBarPart property defines the section of the status bar that has the focus. Anything displayed in the status bar would then be displayed in the active part.
Example
Imports SolidEdgeFramework
Imports System.Runtime.InteropServices

Module Example
    <STAThread()> _
    Sub Main()
        Dim objApplication As SolidEdgeFramework.Application = Nothing
        Dim iActiveStatusBarPart As Integer

        Try
            OleMessageFilter.Register()

            ' Connect to a running instance of Solid Edge.
            objApplication = Marshal.GetActiveObject("SolidEdge.Application")
            iActiveStatusBarPart = objApplication.ActiveStatusBarPart

        Catch ex As Exception
            ' Write any errors to console.
            Console.WriteLine(ex.Message)
        Finally
            OleMessageFilter.Revoke()
        End Try
    End Sub
End Module
See Also

Application Object  | Application Members