This commit is contained in:
coco
2026-07-03 16:05:30 +08:00
commit df489d5640
1101 changed files with 779140 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#ifndef CDRAGLISTCTRL_H_INCLUDE_201901150925
#define CDRAGLISTCTRL_H_INCLUDE_201901150925
#pragma once
#include <afxcmn.h>
#include "DragList.h"
class CDragListCtrl :public CListCtrl
{
public:
CDragListCtrl();
~CDragListCtrl();
DECLARE_MESSAGE_MAP()
afx_msg void OnLvnBegindrag(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
protected:
// void OnLvnBegindrag(NMHDR *pNMHDR, LRESULT *pResult);
// void OnLButtonUp(UINT nFlags, CPoint point);
// void OnMouseMove(UINT nFlags, CPoint point);
private:
int m_nSelItem;
CImageList* m_pDragImageList;
BOOL m_bDragging;
public:
//afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
};
#endif