DukeDlg.h
上传用户:do_tie
上传日期:2007-11-03
资源大小:1095k
文件大小:1k
- #pragma once
- // CDukeDlg 对话框
- class CDukeDlg : public CDialog
- {
- DECLARE_DYNAMIC(CDukeDlg)
- public:
- CDukeDlg(CWnd* pParent = NULL); // 标准构造函数
- virtual ~CDukeDlg();
- // 对话框数据
- enum { IDD = IDD_JAVADUKE };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
- DECLARE_MESSAGE_MAP()
- public:
- CBitmap * m_pBmp[10];
- public:
- BITMAP bs;
- public:
- virtual BOOL OnInitDialog();
- public:
- // 用于判断动画是否已经开始播放,在构造函数中初始化为FALSE
- bool m_bStarted;
- public:
- // 用于记录当前所要显示的位图序号,初始化为0
- int m_iCurFrame;
- public:
- // 用于记录当前的每秒帧数(范围可设为1~100)
- int m_iTimesPerSecond;
- public:
- afx_msg void OnBnClickedAniStartstop();
- public:
- afx_msg void OnTimer(UINT_PTR nIDEvent);
- public:
- // CSliderCtrl的指针变量
- CSliderCtrl *pSlider;
- public:
- afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
- public:
- afx_msg void OnEnChangeN();
- };