TimerSpeed.h
上传用户:oy0519
上传日期:2008-01-20
资源大小:124k
文件大小:1k
源码类别:

绘图程序

开发平台:

Visual C++

  1. #if !defined(AFX_TIMERSPEED_H__44AB8243_FEA9_11D3_85DB_0008C777FFEE__INCLUDED_)
  2. #define AFX_TIMERSPEED_H__44AB8243_FEA9_11D3_85DB_0008C777FFEE__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // TimerSpeed.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CTimerSpeed dialog
  10. class CTimerSpeed : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CTimerSpeed(CWnd* pParent = NULL);   // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CTimerSpeed)
  17. enum { IDD = IDD_DTIMER };
  18. CStatic m_SpeedMsg;
  19. CSliderCtrl m_TimerSpeed;
  20. int m_nTimerSpeed;
  21. //}}AFX_DATA
  22. CWnd* pWnd;
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CTimerSpeed)
  26. protected:
  27. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. protected:
  31. // Generated message map functions
  32. //{{AFX_MSG(CTimerSpeed)
  33. virtual BOOL OnInitDialog();
  34. afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  35. //}}AFX_MSG
  36. DECLARE_MESSAGE_MAP()
  37. };
  38. //{{AFX_INSERT_LOCATION}}
  39. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  40. #endif // !defined(AFX_TIMERSPEED_H__44AB8243_FEA9_11D3_85DB_0008C777FFEE__INCLUDED_)