a
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user