a
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#ifndef _DRAG_LIST_H_
|
||||
#define _DRAG_LIST_H_
|
||||
|
||||
#include "Resource.h"
|
||||
#include <vector>
|
||||
using namespace std;
|
||||
#define SELECT_NONE -1
|
||||
#define BUTTON_UP -1
|
||||
//#define WM_SWAPITEM WM_USER+435
|
||||
#define WM_MOVEITEM WM_USER+436
|
||||
class CDragList
|
||||
{
|
||||
private:
|
||||
static vector <RECT> ItemRect;
|
||||
static int m_ActiveItem;
|
||||
static bool m_IsOut;
|
||||
static bool m_IsInFilstPart;
|
||||
static bool m_IsInSecondPart;
|
||||
static POINT MouseDownPoint;
|
||||
public:
|
||||
static int m_SelectItem;
|
||||
public:
|
||||
static void BeginDrag(HWND ListWnd, POINT point);
|
||||
static void EndDrag(HWND ListWnd, POINT point);
|
||||
static void Dragging(HWND ListWnd, POINT point);
|
||||
//static void DrawLine(HWND hWnd, int BeginX, int BeginY, int EndX, int EndY);
|
||||
};
|
||||
#endif // #define _DRAG_LIST_H_
|
||||
Reference in New Issue
Block a user