void CBCGPStatusBar::SetPaneAnimation | ( | int | nIndex, |
HIMAGELIST | hImageList, | ||
UINT | nFrameRate = 500 , |
||
BOOL | bUpdate = TRUE , |
||
BOOL | bAlphaBlend = FALSE |
||
) |
Set indicator animation for a given index.
Call this member function to allow the pane to display the animation whose frames are stored in the image list specified by hImageList.
If you want to disable the current animation you should call SetPaneAnimation with hImageList set to NULL.
nIndex | Index of the pane whose animation is to be set. |
hImageList | Handle to the image list that holds the animation frames. |
nFrameRate | Specifies the frame rate for the animation (in milliseconds). |
bUpdate | Specifies whether to update the pane content immediately. |
bAlphaBlend | Should be TRUE if the image list uses 32 bit color. |