共用方式為


CMFCRibbonStatusBarPane::SetAnimationList

影像列出可供動畫使用狀態列窗格的套件。

void SetAnimationList(
   HBITMAP hBmpAnimationList,
   int cxAnimation=16,
   COLORREF clrTransp=RGB(192,
   192 1,
   192) 1 
);
BOOL SetAnimationList(
   UINT uiAnimationListResID,
   int cxAnimation=16,
   COLORREF clrTransp=RGB(192,
   192 1,
   192) 1 
);

參數

  • [in] hBmpAnimationList
    指定處理至影像清單的。

  • [in] cxAnimation
    以像素為單位指定這個寬度,在這種情況下,影像清單的框架。

  • [in] clrTransp
    指定影像清單的透明色彩。

  • [in] uiAnimationListResID
    指定影像清單中的資源 ID。

傳回值

TRUE ,如果影像清單成功附加至狀態列窗格,否則 FALSE 。

需求

標題: afxribbonstatusbarpane.h

請參閱

參考

CMFCRibbonStatusBarPane 類別

階層架構圖表