DRAGLISTINFO structure

Contains information about a drag event. The pointer to DRAGLISTINFO is passed as the lParam parameter of the drag list message.

Syntax

typedef struct tagDRAGLISTINFO {
  UINT  uNotification;
  HWND  hWnd;
  POINT ptCursor;
} DRAGLISTINFO, *LPDRAGLISTINFO;

Members

uNotification

Type: UINT

The notification code that specifies the type of drag event. This member can be one of the following values:

Value Meaning
DL_BEGINDRAG
The user has clicked the left mouse button on a list item.
DL_CANCELDRAG
The user has canceled the drag operation by clicking the right mouse button or pressing the ESC key.
DL_DRAGGING
The user has moved the mouse while dragging an item.
DL_DROPPED
The user has released the left mouse button, completing a drag operation.

hWnd

Type: HWND

A handle to the drag list box.

ptCursor

Type: POINT

A POINT structure that contains the current x- and y-coordinates of the mouse cursor.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header commctrl.h