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

📄 applet1.cpp

📁 WinCE开发技巧与实例的配套源码(chapter2)
💻 CPP
字号:
// Applet1.cpp: implementation of the CApplet1 class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "chapter2_5.h"
#include "Applet1.h"
#include "AppletDlg1.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CApplet1::CApplet1()
{

}

CApplet1::~CApplet1()
{

}

CString CApplet1::GetName()
{
	CString s;
	s.LoadString(IDS_CP1_NAME);
	return s;
}

CString CApplet1::GetInfo()
{
	CString s;
	s.LoadString(IDS_CP1_INFO);
	return s;
}

HICON CApplet1::GetIcon()
{
	return (HICON)LoadImage(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDI_CP1), IMAGE_ICON, 32, 32, 0);
}

void CApplet1::OnClick()
{
	CAppletDlg1 dlg;
	dlg.DoModal();
}

⌨️ 快捷键说明

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