Drag List Box
This section contains information about the functions, notification codes, and structures associated with drag list boxes.
Overviews
| Topic | Contents |
|---|---|
| Drag List Boxes |
A drag list box is a special type of list box that enables the user to drag items from one position to another. |
Functions
| Topic | Contents |
|---|---|
| DrawInsert |
Draws the insert icon in the parent window of the specified drag list box. |
| LBItemFromPt |
Retrieves the index of the item at the specified point in a list box. |
| MakeDragList |
Changes the specified single-selection list box to a drag list box. |
Notifications
| Topic | Contents |
|---|---|
| DL_BEGINDRAG |
Notifies the drag list box's parent window that the user has clicked the left mouse button on an item. A drag list box sends this notification code in the form of a drag list message. |
| DL_CANCELDRAG |
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 in the form of a drag list message. |
| DL_DRAGGING |
Signals that the user has moved the mouse while dragging an item. DL_DRAGGING is also sent periodically during dragging even if the mouse is not moved. A drag list box sends this notification code in the form of a drag list message. |
| DL_DROPPED |
Signals that the user has completed a drag operation by releasing the left mouse button. A drag list box sends this notification code in the form of a drag list message. |
Structures
| Topic | Contents |
|---|---|
| DRAGLISTINFO |
Contains information about a drag event. The pointer to DRAGLISTINFO is passed as the lParam parameter of the drag list message. |
Send comments about this topic to Microsoft
Build date: 1/26/2011