Last change
on this file since 21 was
14,
checked in by marrucho, 11 years ago
|
xsuc light lecture uniquement
|
File size:
1.1 KB
|
Rev | Line | |
---|
[14] | 1 | // CG: This file was added by the Splash Screen component. |
---|
| 2 | |
---|
| 3 | #ifndef _SPLASH_SCRN_ |
---|
| 4 | #define _SPLASH_SCRN_ |
---|
| 5 | |
---|
| 6 | // Splash.h : header file |
---|
| 7 | // |
---|
| 8 | |
---|
| 9 | ///////////////////////////////////////////////////////////////////////////// |
---|
| 10 | // Splash Screen class |
---|
| 11 | |
---|
| 12 | class CSplashWnd : public CWnd |
---|
| 13 | { |
---|
| 14 | // Construction |
---|
| 15 | protected: |
---|
| 16 | CSplashWnd(); |
---|
| 17 | |
---|
| 18 | // Attributes: |
---|
| 19 | public: |
---|
| 20 | CBitmap m_bitmap; |
---|
| 21 | |
---|
| 22 | // Operations |
---|
| 23 | public: |
---|
| 24 | static void EnableSplashScreen(BOOL bEnable = TRUE); |
---|
| 25 | static void ShowSplashScreen(CWnd* pParentWnd = NULL); |
---|
| 26 | static BOOL PreTranslateAppMessage(MSG* pMsg); |
---|
| 27 | |
---|
| 28 | // Overrides |
---|
| 29 | // ClassWizard generated virtual function overrides |
---|
| 30 | //{{AFX_VIRTUAL(CSplashWnd) |
---|
| 31 | //}}AFX_VIRTUAL |
---|
| 32 | |
---|
| 33 | // Implementation |
---|
| 34 | public: |
---|
| 35 | ~CSplashWnd(); |
---|
| 36 | virtual void PostNcDestroy(); |
---|
| 37 | |
---|
| 38 | protected: |
---|
| 39 | BOOL Create(CWnd* pParentWnd = NULL); |
---|
| 40 | void HideSplashScreen(); |
---|
| 41 | static BOOL c_bShowSplashWnd; |
---|
| 42 | static CSplashWnd* c_pSplashWnd; |
---|
| 43 | |
---|
| 44 | // Generated message map functions |
---|
| 45 | protected: |
---|
| 46 | //{{AFX_MSG(CSplashWnd) |
---|
| 47 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); |
---|
| 48 | afx_msg void OnPaint(); |
---|
| 49 | afx_msg void OnTimer(UINT nIDEvent); |
---|
| 50 | //}}AFX_MSG |
---|
| 51 | DECLARE_MESSAGE_MAP() |
---|
| 52 | }; |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.