ScreenSaveProgrameDlg.h
上传用户:liuhua
上传日期:2022-07-19
资源大小:27k
文件大小:2k
源码类别:

屏幕保护

开发平台:

Visual C++

  1. // ScreenSaveProgrameDlg.h : header file
  2. //
  3. #if !defined(AFX_SCREENSAVEPROGRAMEDLG_H__8E577167_8674_11D3_9B96_00ED140000A2__INCLUDED_)
  4. #define AFX_SCREENSAVEPROGRAMEDLG_H__8E577167_8674_11D3_9B96_00ED140000A2__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. ////my code starts here
  9. #include "DrawWnd.h"
  10. //my code ends here
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CScreenSaveProgrameDlg dialog
  13. class CScreenSaveProgrameDlg : public CDialog
  14. {
  15. // Construction
  16. public:
  17. CScreenSaveProgrameDlg(CWnd* pParent = NULL); // standard constructor
  18. // Dialog Data
  19. //{{AFX_DATA(CScreenSaveProgrameDlg)
  20. enum { IDD = IDD_SCREENSAVEPROGRAME_DIALOG };
  21. CScrollBar m_scrollSpeed;
  22. int m_nSpeed;
  23. //}}AFX_DATA
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CScreenSaveProgrameDlg)
  26. protected:
  27. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. protected:
  31. HICON m_hIcon;
  32.     CDrawWnd m_wndPreview;
  33. // Generated message map functions
  34. //{{AFX_MSG(CScreenSaveProgrameDlg)
  35. virtual BOOL OnInitDialog();
  36. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  37. afx_msg void OnPaint();
  38. afx_msg HCURSOR OnQueryDragIcon();
  39. afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. //{{AFX_INSERT_LOCATION}}
  44. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  45. #endif // !defined(AFX_SCREENSAVEPROGRAMEDLG_H__8E577167_8674_11D3_9B96_00ED140000A2__INCLUDED_)