WinXListBox_EnableDragging


WinXListBox_EnableDragging (hListBox)

Enables dragging in a list box control.

Parameter Description
hListBox The list box to enable dragging for

Returns

$$TRUE on success or $$FALSE on fail

Remarks

You must call this function before the user can drag items in a list box. You will also need to register the onDrag callback with WinXRegOnDrag. When the user attempts to drag an item, the onDrag callback will be invoked.

Examples

see the dragList program in the samples folder for an example of how to implement dragging

Related Links

onDrag