?? resultdlg.cpp
字號:
// ResultDlg.cpp : 實現文件
//
#include "stdafx.h"
#include "TemperaturE.h"
#include "ResultDlg.h"
// CResultDlg 對話框
IMPLEMENT_DYNAMIC(CResultDlg, CDialog)
CResultDlg::CResultDlg(CWnd* pParent /*=NULL*/)
: CDialog(CResultDlg::IDD, pParent)
{
m_CardCount = 0;
}
CResultDlg::~CResultDlg()
{
}
void CResultDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX, IDC_LIST2, m_list);
}
BEGIN_MESSAGE_MAP(CResultDlg, CDialog)
END_MESSAGE_MAP()
// CResultDlg 消息處理程序
BOOL CResultDlg::OnInitDialog()
{
CDialog::OnInitDialog();
CString str;
if( theApp.m_Lang == 0 )
{
SetWindowText( _T("返回結果") );
str.LoadString(IDS_STR_LIST_CARDID_CH);
}
else
{
str.LoadString(IDS_STR_LIST_CARDID);
}
m_list.InsertColumn( 0, str, LVCFMT_LEFT, 200 );
for( int i=0; i<m_CardCount; i++ )
{
str.Format( _T("%d"), m_CardID[i] );
m_list.InsertItem( i, str );
}
return TRUE;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -