Редагувати

Поділитися через


DL_CANCELDRAG notification code

Signals that the user has canceled a drag operation by clicking the right mouse button or pressing the ESC key. A drag list box sends this notification code to its parent window in the form of a drag list message. For more information, see Drag List Box Messages.

DL_CANCELDRAG

    pDragInfo = (LPARAM)(LPDRAGLISTINFO) lParam;

Parameters

lParam

A pointer to a DRAGLISTINFO structure that contains the DL_CANCELDRAG notification code, the handle to the drag list box, and the cursor position.

Return value

No return value.

Remarks

By processing the DL_CANCELDRAG notification code, an application can reset its internal state to indicate that dragging is not in effect.

Requirements

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