Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Controls
Control Library
Drag List Box

  Switch on low bandwidth view
Drag List Box

This section contains information aboout the functions, notification messages, and structures associated with drag list boxes.

Overviews

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

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

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 DL_BEGINDRAG 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 DL_CANCELDRAG to its parent window 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 to its parent window 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 DL_DROPPED to its parent window in the form of a drag list message.

Structures

DRAGLISTINFO

Contains information about a drag event. The pointer to DRAGLISTINFO is passed as the lParam parameter of the drag list message.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker