mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
722 B
31 lines
722 B
#ifndef _INC_DRAGLIST
|
|
#define _INC_DRAGLIST
|
|
|
|
typedef struct
|
|
{
|
|
UINT uNotification;
|
|
HWND hWnd;
|
|
POINT ptCursor;
|
|
} DRAGLISTINFO, FAR *LPDRAGLISTINFO;
|
|
|
|
#define DL_BEGINDRAG (LB_MSGMAX+100)
|
|
#define DL_DRAGGING (LB_MSGMAX+101)
|
|
#define DL_DROPPED (LB_MSGMAX+102)
|
|
#define DL_CANCELDRAG (LB_MSGMAX+103)
|
|
|
|
#define DL_CURSORSET 0
|
|
#define DL_STOPCURSOR 1
|
|
#define DL_COPYCURSOR 2
|
|
#define DL_MOVECURSOR 3
|
|
|
|
#define DRAGLISTMSGSTRING L"commctrl_DragListMsg"
|
|
|
|
/* Exported functions and variables
|
|
*/
|
|
extern BOOL WINAPI MakeDragList(HWND hLB);
|
|
extern int WINAPI LBItemFromPt(HWND hLB, POINT pt, BOOL bAutoScroll);
|
|
extern void WINAPI DrawInsert(HWND handParent, HWND hLB, int nItem);
|
|
|
|
#endif /* _INC_DRAGLIST */
|
|
|
|
|