📄 diaa.cpp
字号:
// DiaA.cpp : implementation file
//
#include "stdafx.h"
#include "AdoTest.h"
#include "DiaA.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// DiaA dialog
DiaA::DiaA(CWnd* pParent /*=NULL*/)
: CDialog(DiaA::IDD, pParent)
{
//{{AFX_DATA_INIT(DiaA)
//}}AFX_DATA_INIT
}
void DiaA::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(DiaA)
DDX_Control(pDX, IDC_LIST3, m_aa);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(DiaA, CDialog)
//{{AFX_MSG_MAP(DiaA)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// DiaA message handlers
BOOL DiaA::OnInitDialog()
{
CDialog::OnInitDialog();
m_aa.InsertColumn(0,"ID",LVCFMT_CENTER,60);
m_aa.InsertColumn(1,"ID",LVCFMT_CENTER,60);
m_aa.InsertColumn(3,"ID",LVCFMT_CENTER,60);
m_aa.InsertColumn(4,"ID",LVCFMT_CENTER,60);
m_aa.InsertColumn(5,"ID",LVCFMT_CENTER,60);
m_aa.InsertColumn(6,"ID",LVCFMT_CENTER,60);
// TODO: Add extra initialization here
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 + -