📄 splashwnd.h
字号:
#ifndef _SPLASHWND_H_
#define _SPLASHWND_H_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// SplashWnd.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSplashWnd window
class CImageObject;
class CSplashWnd : public CWnd
{
// Construction
public:
CSplashWnd(CString sBmpFile,UINT nDuration = 2000);
~CSplashWnd();
// Attributes
public:
CImageObject* m_pObject;
// Operations
public:
BOOL Create();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMySplashWnd)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
//}}AFX_VIRTUAL
// Implementation
public:
// Generated message map functions
protected:
//{{AFX_MSG(CMySplashWnd)
afx_msg void OnPaint();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
CString m_sBmpFile;
UINT m_nDuration;
UINT m_nTimerID;
CWnd m_wndInvisible;
};
/////////////////////////////////////////////////////////////////////////////
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -