【VC开源代码栏目提醒】:网学会员为需要VC开源代码的朋友们搜集整理了UpdateDlgView.cpp相关资料,希望对各位网友有所帮助!
// UpdateDlgView.cpp : CUpdateDlgView 类的实现
//
#include "stdafx.h"
#include "UpdateDlg.h"
#include "UpdateDlgDoc.h"
#include "UpdateDlgView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CUpdateDlgView
IMPLEMENT_DYNCREATE(CUpdateDlgView, CListView)
BEGIN_MESSAGE_MAP(CUpdateDlgView, CListView)
END_MESSAGE_MAP()
// CUpdateDlgView 构造/销毁
CUpdateDlgView::CUpdateDlgView()
{
// TODO: 在此处添加构造代码
}
CUpdateDlgView::~CUpdateDlgView()
{
}
BOOL CUpdateDlgView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: 在此处通过修改 CREATESTRUCT cs 来修改窗口类或
// 样式
return CListView::PreCreateWindow(cs);
}
void CUpdateDlgView::OnInitialUpdate()
{
CListView::OnInitialUpdate();
// TODO: 调用 GetListCtrl() 直接访问 ListView 的
列表控件,
// 从而可以用项填充 ListView。
}
// CUpdateDlgView 诊断
#ifdef _DEBUG
void CUpdateDlgView::AssertValid() const
{
CListView::AssertValid();
}
void CUpdateDlgView::Dump(CDumpContext& dc) const
{
CListView::Dump(dc);
}
CUpdateDlgDoc* CUpdateDlgView::GetDocument() const // 非调试版本是内联的
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CUpdateDlgDoc)));
return (CUpdateDlgDoc*)m_pDocument;
}
#endif //_DEBUG
// CUpdateDlgView 消息处理
程序