DRAGLISTINFO

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

Typedef struct {

UINT uNotification;

HWND hWnd;

POINT ptCursor;

} DRAGLISTINFO, FAR *LPDRAGLISTINFO;

Members

uNotification

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

Handle to drag list box.

ptCursor

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

See also

DL_BEGINDRAG, DL_CANCELDRAG, DL_DRAGGING, DL_DROPPED, POINT