- #if !defined __MY_DLG_BAR__
- #define __MY_DLG_BAR__
- class CMyDlgBar : public CDialogBar
- {
- BYTE m_Speed[100];
- int m_Pos;
- UINT m_Timer;
- void DrawWave(CDC *pDC);
- DECLARE_DYNCREATE(CMyDlgBar)
- public:
- void Add(void);
- CMyDlgBar();
- virtual ~CMyDlgBar();
- protected:
- afx_msg void OnPaint();
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnCreate();
- afx_msg void OnClose();
- DECLARE_MESSAGE_MAP()
- };
- #endif