📄 messageview.cpp
字号:
// MessageView.cpp : implementation file
//
#include "stdafx.h"
#include "mestang.h"
#include "MessageView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMessageView
IMPLEMENT_DYNCREATE(CMessageView, CFormView)
CMessageView::CMessageView()
: CFormView(CMessageView::IDD)
{
//{{AFX_DATA_INIT(CMessageView)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
CMessageView::~CMessageView()
{
}
void CMessageView::DoDataExchange(CDataExchange* pDX)
{
CFormView::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CMessageView)
DDX_Control(pDX, IDC_LIST_MESSAGE, m_list_message);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CMessageView, CFormView)
//{{AFX_MSG_MAP(CMessageView)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMessageView diagnostics
#ifdef _DEBUG
void CMessageView::AssertValid() const
{
CFormView::AssertValid();
}
void CMessageView::Dump(CDumpContext& dc) const
{
CFormView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CMessageView message handlers
void CMessageView::OnInitialUpdate()
{
CFormView::OnInitialUpdate();
// m_list_message.SetWindowPos(NULL,0,0,1085,76,SWP_NOMOVE|SWP_NOZORDER | SWP_NOACTIVATE);
m_list_message.SetWindowPos(NULL,0,0,1240,76,SWP_NOMOVE|SWP_NOZORDER | SWP_NOACTIVATE);
// m_list_message.SetExtendedStyle(LVS_EX_FULLROWSELECT|LVS_EX_GRIDLINES);
// m_list_message.SetBkColor(RGB(224,255,255));
// m_list_message.SetTextBkColor(RGB(230 ,230 ,250));
// m_list_message.SetTextColor(RGB(85 ,26 ,139 ));
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -