IVsStatusbar Interface


Provides access to the environment's status bar.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public interface IVsStatusbar

System_CAPS_pubmethodAnimation(Int32, Object)

Controls the animation of the icon in the status bar.


Clears the status text area and the editor information area in the status bar.


Inhibits updates to the status text area.


Returns the number of freeze holds on the status bar.


Retrieves the current status bar text.

System_CAPS_pubmethodIsCurrentUser(IVsStatusbarUser, Int32)

Determines whether the specified user is the current user of the status bar.


Returns the freeze state of the status bar.

System_CAPS_pubmethodProgress(UInt32, Int32, String, UInt32, UInt32)

Shows the progress of operations that take a determinate amount of time.

System_CAPS_pubmethodSetColorText(String, UInt32, UInt32)

Sets the status bar text with foreground and background colors.


Sets the mode of the editor in the status bar to either insert or overwrite.

System_CAPS_pubmethodSetLineChar(Object, Object)

Displays the line number and character position in the editor information area of the status bar.

System_CAPS_pubmethodSetLineColChar(Object, Object, Object)

Displays the line number, column number, and character position in the editor information area of the status bar.


Sets the block or stream selection mode of the editor in the status bar.


Sets the status bar text in the text area.

System_CAPS_pubmethodSetXYWH(Object, Object, Object, Object)

Displays the (x,y) position and the width and height of the current graphics box in the editor information area of the status bar.

The status bar in Visual Studio is divided into four regions: status text area, progress bar area, animated icon area, and the editor information area. Each region can support one or more output panes. For more information, see the Status Bar topic under the Window Design node of the User Interface Design Guidelines.

Notes to Callers:

This interface should be called whenever information in the status bar needs to be updated.

Return to top