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

📄 sizecombobox.cpp

📁 《AE库通用模块及典型系统开发实例导航》光盘内容分享!
💻 CPP
字号:
// SizeComboBox.cpp : implementation file
//

#include "stdafx.h"
#include "MyRichEdit.h"
#include "SizeComboBox.h"

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

/////////////////////////////////////////////////////////////////////////////
// CSizeComboBox

CSizeComboBox::CSizeComboBox()
{
}

CSizeComboBox::~CSizeComboBox()
{
}


BEGIN_MESSAGE_MAP(CSizeComboBox, CComboBox)
	//{{AFX_MSG_MAP(CSizeComboBox)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSizeComboBox message handlers

void CSizeComboBox::AddSize()
{
	LPTSTR lpItems[] = {_T("8"), _T("9"), _T("10"), _T("11"), _T("12"),
						_T("14"), _T("16"), _T("18"), _T("20"), _T("24"),
						_T("26"), _T("28"), _T("36"), _T("48"), _T("72")};
	int nCount = sizeof(lpItems) / sizeof(LPTSTR);
	Clear();
	for (int i = 0; i < nCount; i++)
	{
		this->AddString(lpItems[i]);
	}
	SetCurSel(0);
}

⌨️ 快捷键说明

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