- // construction
- CAniDialog(UINT nDlgID, CWnd* pParent);
- CAniDialog(CPoint pt, UINT nDlgID, CWnd* pParent);
- // operation
- // access frame number
- UINT GetFrameNum() const;
- void SetFrameNum(UINT nFrames);
- // access animation speed
- UINT GetAniSpeed() const;
- void SetAniSpeed(UINT nMillSec);
- // access the reference point
- CPoint GetRefPt() const;
- void SetRefPt(CPoint pt);
- // access animation styles
- WORD GetOpenStyle() const;
- WORD GetCloseStyle() const;
- void SetAniStyles(WORD wOpenStyle, WORD wCloseStyle);
- WORD GetDispStyle() const;
- void SetDispStyle(WORD wDispStyle);
- // temporarily enable/disable animation
- void EnableAni(BOOL bEnable = TRUE);
- // check object status
- BOOL IsAniValid() const;
- //该片段来自于http://www.codesnippet.cn/detail/030420132699.html
来源: http://www.codesnippet.cn/detail/030420132699.html