ArcObjects Library Reference (System)  

IStatusBar.ShowProgressBar Method

Makes the progress bar visible.

[Visual Basic .NET]
Public Sub ShowProgressBar ( _
    ByVal Message As String, _
    ByVal min As Integer, _
    ByVal max As Integer, _
    ByVal Step As Integer, _
    ByVal onePanel As Boolean _
)
[C#]
public void ShowProgressBar (
    string Message,
    int min,
    int max,
    int Step,
    bool onePanel
);
[C++]
HRESULT ShowProgressBar(
  BSTR Message,
  long min,
  long max,
  long Step,
  VARIANT_BOOL onePanel
);
[C++]

Parameters

Message [in]   Message is a parameter of type BSTR min [in]   min is a parameter of type long max [in]   max is a parameter of type long Step [in]   Step is a parameter of type long onePanel [in]   onePanel is a parameter of type VARIANT_BOOL

Product Availability

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

Description

Message is the string that is to be displayed beside the step progressor on the status bar.

min specifies the minimum range of the progression.

max specifies the maximum range of the progression.

Step specifies step increment of the progression.

onePanel (this parameter is no longer used)

Remarks

The ShowProgressBar method provides shortcuts to the properties of the step progress bar (IStepProgressor). This method allows you to set the message, minimum and maximum values, and the step size of the step progress bar and also display the step progress bar.

See Also

IStatusBar Interface