Udostępnij za pośrednictwem


CMFCStatusBar::SetPaneAnimation

Assigns an animation to the specified pane.

void SetPaneAnimation(
   int nIndex,
   HIMAGELIST hImageList,
   UINT nFrameRate=500,
   BOOL bUpdate=TRUE 
);

Parameters

  • [in] nIndex
    Specifies the index of the pane to which you want to assign to it an animation.

  • [in] hImageList
    Specifies a handle to the image list that holds the animation frames.

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

  • [in] bUpdate
    If TRUE, update the pane content immediately. Otherwise, the pane content is updated when it is invalidated.

Remarks

If you want to disable the current animation, call SetPaneAnimation with hImageList set to NULL.

Requirements

Header: afxstatusbar.h

See Also

Reference

CMFCStatusBar Class

Hierarchy Chart