Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- possibleOwner
Type: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
The owner of the status bar. If not the owner, nothing will happen.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.