1 2 #ifndef _SPLASH_SCREEN_ 3 #define _SPLASH_SCREEN_ 4 5 #include <afxcview.h> 6 7 #define DATE_STRING_SIZE 128 8 9 class splash_screen : public CDialog 10 { 11 public: 12 splash_screen(BOOL AutoClose); 13 virtual BOOL PreCreateWindow(CREATESTRUCT &cs); 14 15 // Generated message map functions 16 protected: 17 18 char date_built[DATE_STRING_SIZE]; 19 20 CButton CloseButton; 21 22 void ScreenReaderMessage(); 23 afx_msg void OnPaint(); 24 afx_msg void OnTimer(UINT_PTR nIdEvent); 25 afx_msg void OnDoneClicked(); 26 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 27 DECLARE_MESSAGE_MAP() 28 BOOL mAutoClose; 29 }; 30 31 #endif 32