Delen via


SharedStatusBar.Animation Method

Controls the animation of the icon in the status bar.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Public Function Animation ( _
    possibleOwner As SharedStatusBarOwner, _
    fOnOff As Integer, _
    ByRef pvIcon As Object _
) As Integer
public int Animation(
    SharedStatusBarOwner possibleOwner,
    int fOnOff,
    ref Object pvIcon
)
public:
virtual int Animation(
    SharedStatusBarOwner^ possibleOwner, 
    int fOnOff, 
    Object^% pvIcon
) sealed
abstract Animation : 
        possibleOwner:SharedStatusBarOwner * 
        fOnOff:int * 
        pvIcon:Object byref -> int 
override Animation : 
        possibleOwner:SharedStatusBarOwner * 
        fOnOff:int * 
        pvIcon:Object byref -> int 
public final function Animation(
    possibleOwner : SharedStatusBarOwner, 
    fOnOff : int, 
    pvIcon : Object
) : int

Parameters

  • fOnOff
    Type: System.Int32
    Set to true to turn on animation, or set to false to turn it off.
  • pvIcon
    Type: System.Object%
    If the VARIANT is a VT_I2, it refers to the SBAI_Index of predefined animated icons. If this parameter is a VT_I4, it refers to an HBITMAP that contains the filmstrip image for animation. whose The width of the image should be a multiple of its height.

Return Value

Type: System.Int32

Implements

ISharedStatusBar.Animation(SharedStatusBarOwner, Int32, Object%)

.NET Framework Security

See Also

Reference

SharedStatusBar Class

Microsoft.VisualStudio.Data.Schema.Package.UI Namespace