source: trunk/XSUC/Splash.h@ 12

Last change on this file since 12 was 11, checked in by marrucho, 12 years ago
File size: 1.1 KB
Line 
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
12class CSplashWnd : public CWnd
13{
14// Construction
15protected:
16 CSplashWnd();
17
18// Attributes:
19public:
20 CBitmap m_bitmap;
21
22// Operations
23public:
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
34public:
35 ~CSplashWnd();
36 virtual void PostNcDestroy();
37
38protected:
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
45protected:
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.