explorertreectrl.cpp

来自「类似资源管理器的vc源代码,实现起来相当不容易啊,要细心琢磨」· C++ 代码 · 共 44 行

CPP
44
字号
// ExplorerTreeCtrl.cpp : implementation file
//

#include "stdafx.h"
#include "cmyexplorer.h"
#include "ExplorerTreeCtrl.h"

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

/////////////////////////////////////////////////////////////////////////////
// CExplorerTreeCtrl

CExplorerTreeCtrl::CExplorerTreeCtrl()
{
}

CExplorerTreeCtrl::~CExplorerTreeCtrl()
{
}


BEGIN_MESSAGE_MAP(CExplorerTreeCtrl, CTreeCtrl)
	//{{AFX_MSG_MAP(CExplorerTreeCtrl)
	ON_WM_CREATE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CExplorerTreeCtrl message handlers

int CExplorerTreeCtrl::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
	if (CTreeCtrl::OnCreate(lpCreateStruct) == -1)
		return -1;
	
	// TODO: Add your specialized creation code here
	
	return 0;
}

⌨️ 快捷键说明

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