⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 draglist.h

📁 类似 windows explorer的工具
💻 H
字号:
#ifndef _DRAGDROPLIST_H_
#define _DRAGDROPLIST_H_

//class CDragList : public CListCtrl
#include "ShellListCtrl.h"

// 要改变 CDragList 的基类,只需要改变 CDragList_BaseClass 定义
#define CDragList_BaseClass CShellListCtrl
class CDragList : public CDragList_BaseClass // CDragList_BaseClass is a macro
{
public:
	CDragList();
	virtual ~CDragList();

public:
	//拖放图像列表
	CImageList  *m_pImgDragList;
	CImageList  *CreateDragImage(LPPOINT lpPoint);


// Overrides
	//{{AFX_VIRTUAL(CDragList)
	//}}AFX_VIRTUAL

protected:
	//{{AFX_MSG(CDragList)
	afx_msg void OnBeginDrag(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
    afx_msg void OnDeleteItem(NMHDR* pNMHDR, LRESULT* pResult);
	
	DECLARE_MESSAGE_MAP()
private:
//	COLORREF m_crBackColor;
};
#endif 

⌨️ 快捷键说明

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