共用方式為


CMFCRibbonStatusBarPane::StartAnimation

Starts the animation that you assign to the pane.

void StartAnimation(
   UINT nFrameDelay=500,
   UINT nDuration=-1 
);

Parameters

  • [in] nFrameDelay
    Specifies the animation frame rate, in milliseconds.

  • [in] nDuration
    Specifies how long to play the animation, in milliseconds. Use -1 for an infinite loop.

Remarks

You must specify a handle to an image list before you call StartAnimation by using SetAnimationList.

Requirements

Header: afxribbonstatusbarpane.h

See Also

Reference

CMFCRibbonStatusBarPane Class

Hierarchy Chart