listtest.cpp

来自「VC技术内幕30章以后的 书很不错的 供大家下载」· C++ 代码 · 共 41 行

CPP
41
字号
// ListTest.cpp : implementation file
//

#include "stdafx.h"
#include "Test.h"
#include "ListTest.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CListTest

CListTest::CListTest()
{
}

CListTest::~CListTest()
{
}


BEGIN_MESSAGE_MAP(CListTest, CListCtrl)
	//{{AFX_MSG_MAP(CListTest)
	ON_WM_DRAWITEM()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CListTest message handlers

void CListTest::OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) 
{
	// TODO: Add your message handler code here and/or call default
	
	CListCtrl::OnDrawItem(nIDCtl, lpDrawItemStruct);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?