DL_DROPPED notification code
Signals that the user has completed a drag operation by releasing the left mouse button. 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_DROPPED pDragInfo = (LPARAM)(LPDRAGLISTINFO) lParam;
A pointer to a DRAGLISTINFO structure that contains the DL_DROPPED notification code, the handle to the drag list box, and the cursor position.
No return value.
This notification code is normally processed by inserting the item being dragged into the list in front of the item under the cursor. To retrieve the index of the item at the cursor position, use the LBItemFromPt function. Note that the DL_DROPPED notification code is sent even if the cursor is not on a list item. In that case, LBItemFromPt returns -1.
|Minimum supported client
||Windows Vista [desktop apps only]
|Minimum supported server
||Windows Server 2003 [desktop apps only]