📄 splashwnd.h
字号:
// SplashWnd.h : interface of the CSplashWnd class
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _SPLASHWND_H_
#define _SPLASHWND_H_
/////////////////////////////////////////////////////////////////////////////
// CSplashWnd class
class CSplashWnd : public CWnd
{
// Construction
protected:
CSplashWnd();
// Operations
public:
static void ShowSplashScreen(UINT nIDImage,
UINT nDelay, CWnd* pParentWnd = NULL);
static BOOL PreTranslateAppMessage(MSG* pMsg);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSplashWnd)
//}}AFX_VIRTUAL
// Implementation
public:
~CSplashWnd();
virtual void PostNcDestroy();
protected:
BOOL Create(CWnd* pParentWnd = NULL);
void HideSplashScreen();
static CSplashWnd* m_pSplashWnd;
CBitmap m_bitmap;
UINT m_nIDImage;
UINT m_nDelay;
UINT m_nTimer;
// Generated message map functions
protected:
//{{AFX_MSG(CSplashWnd)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnPaint();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
#endif // _SPLASHWND_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -