Contents Index Topic Contents | ||
Previous Topic: DL_DRAGGING Next Topic: Structures |
DL_DROPPED
DL_BEGINDRAG idCtl = (WPARAM)(int) wParam; pDragInfo = (LPARAM)(LPDRAGLISTINFO) lParam;Signals that the user has completed a drag operation by releasing the left mouse button. A drag list box sends DL_DROPPED to its parent window in the form of a drag list message.
- No return value.
- idCtl
- Control identifier of the drag list box.
- pDragInfo
- Address of a DRAGLISTINFO structure that contains the DL_DROPPED notification code, the handle to the drag list box, and the cursor position.
This notification 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 message is sent even if the cursor is not on a list item. In that case, LBItemFromPt returns -1.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.