#if !defined(AFX_WELCOME_H__0BDEAAFC_F022_4447_B47B_85E82A767B49__INCLUDED_) #define AFX_WELCOME_H__0BDEAAFC_F022_4447_B47B_85E82A767B49__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // Welcome.h : header file // ///////////////////////////////////////////////////////////////////////////// // Welcome dialog // Jeff.Welcome欢迎界面; // 1.做为欢迎界面出现; // 2.Welcome在背景刷新或界面刷新时,设置了定时器; // 3.定时器有0和1,但实际只用到1; // 4. class Welcome : public CDialog { int dlgDx; int dlgDy; int dlgWidth; int dlgHeight; BOOL m_bFirst; DWORD m_nticks; Image *m_pBk; // Construction public: Welcome(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(Welcome) enum { IDD = IDD_DLGWelcome }; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(Welcome) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(Welcome) virtual void OnCancel(); virtual void OnOK(); afx_msg void OnPaint(); afx_msg void OnDestroy(); virtual BOOL OnInitDialog(); afx_msg BOOL OnEraseBkgnd(CDC* pDC); afx_msg void OnTimer(UINT nIDEvent); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_WELCOME_H__0BDEAAFC_F022_4447_B47B_85E82A767B49__INCLUDED_)