📄 cmdcentermess_ppage.cpp
字号:
// CmdCenterMess_PPage.cpp : implementation file
//
#include "stdafx.h"
#include "TrafficExecLaw.h"
#include "CmdCenterMess_PPage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCmdCenterMess_PPage property page
IMPLEMENT_DYNCREATE(CCmdCenterMess_PPage, CPropertyPage)
CCmdCenterMess_PPage::CCmdCenterMess_PPage() : CPropertyPage(CCmdCenterMess_PPage::IDD)
{
//{{AFX_DATA_INIT(CCmdCenterMess_PPage)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
CCmdCenterMess_PPage::~CCmdCenterMess_PPage()
{
}
void CCmdCenterMess_PPage::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CCmdCenterMess_PPage)
DDX_Control(pDX, IDC_LIST_Mess, m_list_mess);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CCmdCenterMess_PPage, CPropertyPage)
//{{AFX_MSG_MAP(CCmdCenterMess_PPage)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCmdCenterMess_PPage message handlers
BOOL CCmdCenterMess_PPage::OnInitDialog()
{
CPropertyPage::OnInitDialog();
// TODO: Add extra initialization here
TCHAR *columnTexts[]=
{
L"发送人",
L"时间",
L"内容"
};
short stColumnsWidth[]=
{
50,
100,
100
};
for(int i=0;i<sizeof(columnTexts)/sizeof(TCHAR*);i++)
this->m_list_mess.InsertColumn (i,columnTexts[i],
LVCFMT_LEFT,stColumnsWidth[i]);
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 + -