📄 inbox_dlg.cpp
字号:
// Inbox_Dlg.cpp : implementation file
//
#include "stdafx.h"
#include "TrafficExecLaw.h"
#include "Inbox_Dlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CInbox_Dlg property page
IMPLEMENT_DYNCREATE(CInbox_Dlg, CPropertyPage)
CInbox_Dlg::CInbox_Dlg() : CPropertyPage(CInbox_Dlg::IDD)
{
//{{AFX_DATA_INIT(CInbox_Dlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
CInbox_Dlg::~CInbox_Dlg()
{
}
void CInbox_Dlg::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CInbox_Dlg)
DDX_Control(pDX, IDC_LIST_Mess, m_list_mess);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CInbox_Dlg, CPropertyPage)
//{{AFX_MSG_MAP(CInbox_Dlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CInbox_Dlg message handlers
BOOL CInbox_Dlg::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]);
//other initializations below
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 + -