Welcome.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #if !defined(AFX_WELCOME_H__0BDEAAFC_F022_4447_B47B_85E82A767B49__INCLUDED_)
  2. #define AFX_WELCOME_H__0BDEAAFC_F022_4447_B47B_85E82A767B49__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Welcome.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // Welcome dialog
  10. // Jeff.Welcome欢迎界面;
  11. // 1.做为欢迎界面出现;
  12. // 2.Welcome在背景刷新或界面刷新时,设置了定时器;
  13. // 3.定时器有0和1,但实际只用到1;
  14. // 4.
  15. class Welcome : public CDialog
  16. {
  17. int dlgDx;
  18. int dlgDy;
  19. int dlgWidth;
  20. int dlgHeight;
  21. BOOL m_bFirst;
  22. DWORD m_nticks;
  23. Image *m_pBk;
  24. // Construction
  25. public:
  26. Welcome(CWnd* pParent = NULL); // standard constructor
  27. // Dialog Data
  28. //{{AFX_DATA(Welcome)
  29. enum { IDD = IDD_DLGWelcome };
  30. // NOTE: the ClassWizard will add data members here
  31. //}}AFX_DATA
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(Welcome)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(Welcome)
  42. virtual void OnCancel();
  43. virtual void OnOK();
  44. afx_msg void OnPaint();
  45. afx_msg void OnDestroy();
  46. virtual BOOL OnInitDialog();
  47. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  48. afx_msg void OnTimer(UINT nIDEvent);
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_WELCOME_H__0BDEAAFC_F022_4447_B47B_85E82A767B49__INCLUDED_)