共用方式為


IVsStatusbar Interface

Definition

Provides access to the environment's status bar.

public interface class IVsStatusbar
public interface class IVsStatusbar
__interface IVsStatusbar
[System.Runtime.InteropServices.Guid("DC0AF70E-5097-4DD3-9983-5A98C3A19942")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsStatusbar
[System.Runtime.InteropServices.Guid("DC0AF70E-5097-4DD3-9983-5A98C3A19942")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsStatusbar
[<System.Runtime.InteropServices.Guid("DC0AF70E-5097-4DD3-9983-5A98C3A19942")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsStatusbar = interface
[<System.Runtime.InteropServices.Guid("DC0AF70E-5097-4DD3-9983-5A98C3A19942")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsStatusbar = interface
Public Interface IVsStatusbar
Attributes

Remarks

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.

Methods

Animation(Int32, Object)

Controls the animation of the icon in the status bar.

Clear()

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

FreezeOutput(Int32)

Inhibits updates to the status text area.

GetFreezeCount(Int32)

Returns the number of freeze holds on the status bar.

GetText(String)

Retrieves the current status bar text.

IsCurrentUser(IVsStatusbarUser, Int32)

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

IsFrozen(Int32)

Returns the freeze state of the status bar.

Progress(UInt32, Int32, String, UInt32, UInt32)

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

SetColorText(String, UInt32, UInt32)

Sets the status bar text with foreground and background colors.

SetInsMode(Object)

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

SetLineChar(Object, Object)

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

SetLineColChar(Object, Object, Object)

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

SetSelMode(Object)

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

SetText(String)

Sets the status bar text in the text area.

SetXYWH(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.

Applies to