⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 appsplash.h

📁 一个关于局域网简单抓包工具
💻 H
字号:
#if !defined APPSPLASH_H
#define APPSPLASH_H

// AppSplsh.h : header file
//
/* 应用程序启动画面Splash
1、将文件夹AppSplash拷贝到设计应用的文件夹中
2、在App的头文件(*.h)加入#include ".\AppSplash\AppSplash.h"
3、在App的InitInstance中加入如下代码:
	//Add Splash Screen 
	BOOL bSplash = false;
	bSplash = true;
	if(bSplash)
	{
		CAppSplash wndSplash;
		wndSplash.Create(IDB_APPSPLASH);
		wndSplash.UpdateWindow(); //send WM_PAINT
		//add if splash screen too short
		Sleep(1000);
		wndSplash.DestroyWindow(); 
	}
	AfxEnableControlContainer();
4、在ResourceView中加入Bitmap,名称为IDB_APPSPLASH,画自己的启动画面
*/

#include "AppBitmap.h"
/////////////////////////////////////////////////////////////////////////////
// CAppSplash window

class CAppSplash : public CWnd
{
// Construction
public:
	CAppSplash();

// Attributes
public:

// Operations
public:
	void Create( UINT nBitmapID );

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAppSplash)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CAppSplash();

	// Generated message map functions
protected:
	//{{AFX_MSG(CAppSplash)
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CAppBitmap m_bitmap;
};

/////////////////////////////////////////////////////////////////////////////

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -