home *** CD-ROM | disk | FTP | other *** search
- // splash.h : main header file for the SPLASH application
- //
-
- #ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
- #endif
-
- #include "resource.h" // main symbols
-
- /////////////////////////////////////////////////////////////////////////////
- // CSplashWnd window
-
- class CSplashWnd : public CWnd
- {
- // Construction
- public:
- CSplashWnd();
-
- // Attributes
- public:
- virtual BOOL Create();
-
- // Operations
- public:
-
- // Implementation
- public:
- virtual ~CSplashWnd();
-
- protected:
- CBitmap m_bmSplash;
- int m_wndWidth;
- int m_wndHeight;
-
- // Generated message map functions
- //{{AFX_MSG(CSplashWnd)
- afx_msg void OnPaint();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- /////////////////////////////////////////////////////////////////////////////
- // CSplashDemoApp:
- // See splash.cpp for the implementation of this class
- //
-
- class CSplashDemoApp : public CWinApp
- {
- public:
- CSplashDemoApp();
-
- // Overrides
- virtual BOOL InitInstance();
-
- // Implementation
- protected:
- CSplashWnd *m_pwndSplash;
- virtual BOOL OnIdle(LONG lCount);
- virtual BOOL PreTranslateMessage(MSG *pMsg);
- DWORD m_dwSplashTime;
-
- public:
- //{{AFX_MSG(CSplashDemoApp)
- afx_msg void OnAppAbout();
- afx_msg void OnHelpSplashme();
- afx_msg void OnUpdateHelpSplashme(CCmdUI* pCmdUI);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
-
- /////////////////////////////////////////////////////////////////////////////
-