The DL_CANCELDRAG notification message 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 DL_CANCELDRAG to its parent window in the form of a drag list message.
DL_CANCELDRAG idCtl = (int) wParam; pDragInfo = (LPDRAGLISTINFO) lParam;
No return value.
By processing the DL_CANCELDRAG notification message, an application can reset its internal state to indicate that dragging is not in effect.