This document is archived and information here might be outdated.  Recommended version.


IStatusBar.Message Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IStatusBar.Message Property

The message displayed by one of the status bar panes.

[Visual Basic .NET]
Public Function get_Message ( _
    ByVal pane As Integer _
) As String
[Visual Basic .NET]
Public Sub set_Message ( _
    ByVal pane As Integer, _
    ByVal Message As String _
)
[C#]
public string get_Message (
    int pane
);
[C#]
public void set_Message (
    int pane,
    string Message
);
[C++]
HRESULT get_Message(
  long pane,
  BSTR* Message
);
[C++]
HRESULT put_Message(
  long pane,
  BSTR Message
);
[C++]

Parameters pane [in] pane is a parameter of type long Message [out, retval] Message is a parameter of type BSTR pane [in] pane is a parameter of type long Message [in] Message is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

For valid values for pane, refer to the esriStatusBarPanes constants.

Remarks

The Message property allows you to display text in the status bar. Most commonly, the main pane (esriStatusMain, value 0) is used for the display of messages; however, any pane can be used.

See Also

IStatusBar Interface

.NET Snippets

Show Progress Dialog | Display Extension State on Status Bar | Animation Progressor