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

📄 lanselect.cpp

📁 电脑编程技巧和源码。很不错的。
💻 CPP
字号:
// LanSelect.cpp : implementation file
//

#include "stdafx.h"
#include "MultiLang.h"
#include "LanSelect.h"

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

/////////////////////////////////////////////////////////////////////////////
// CLanSelect dialog


CLanSelect::CLanSelect(CWnd* pParent /*=NULL*/)
	: CDialog(CLanSelect::IDD, pParent)
{
	//{{AFX_DATA_INIT(CLanSelect)
	m_vLan = -1;
	//}}AFX_DATA_INIT
}


void CLanSelect::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CLanSelect)
	DDX_Control(pDX, IDC_LAN_COMBO, m_cLan);
	DDX_CBIndex(pDX, IDC_LAN_COMBO, m_vLan);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CLanSelect, CDialog)
	//{{AFX_MSG_MAP(CLanSelect)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CLanSelect message handlers

BOOL CLanSelect::OnInitDialog() 
{
	CDialog::OnInitDialog();
	CString str;
	str.LoadString(IDS_LAN1);
	m_cLan.AddString(str);
	str.LoadString(IDS_LAN2);
	m_cLan.AddString(str);
	m_cLan.SetCurSel(0);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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