Files
coco df489d5640 a
2026-07-03 16:05:30 +08:00

29 lines
749 B
C++

#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