GME  13
Splash.h
Go to the documentation of this file.
00001 // CG: This file was added by the Splash Screen component.
00002 
00003 #ifndef _SPLASH_SCRN_
00004 #define _SPLASH_SCRN_
00005 
00006 // Splash.h : header file
00007 //
00008 
00010 //   Splash Screen class
00011 
00012 class CSplashWnd : public CWnd
00013 {
00014 // Construction
00015 protected:
00016         CSplashWnd();
00017 
00018 // Attributes:
00019 public:
00020         CBitmap m_bitmap;
00021         UINT_PTR m_timerID;
00022 
00023 // Operations
00024 public:
00025         static void EnableSplashScreen(BOOL bEnable = TRUE);
00026         static void ShowSplashScreen(CWnd* pParentWnd = NULL);
00027         static BOOL PreTranslateAppMessage(MSG* pMsg);
00028 
00029 // Overrides
00030         // ClassWizard generated virtual function overrides
00031         //{{AFX_VIRTUAL(CSplashWnd)
00032         //}}AFX_VIRTUAL
00033 
00034 // Implementation
00035 public:
00036         ~CSplashWnd();
00037         virtual void PostNcDestroy();
00038 
00039 protected:
00040         BOOL Create(CWnd* pParentWnd = NULL);
00041         void HideSplashScreen();
00042         static BOOL c_bShowSplashWnd;
00043         static CSplashWnd* c_pSplashWnd;
00044 
00045 // Generated message map functions
00046 protected:
00047         //{{AFX_MSG(CSplashWnd)
00048         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00049         afx_msg void OnPaint();
00050         afx_msg void OnTimer(UINT_PTR nIDEvent);
00051         //}}AFX_MSG
00052         DECLARE_MESSAGE_MAP()
00053 };
00054 
00055 
00056 #endif