how to enable dragdrop for listbox?
I want to dragadrop for a listbox. I enable property DragAuto. Then the drogdrop is for the whole listbox, And I can't select any item in the listbox anymore.
but I want dragdrop for single selected item. How to to it?
You would need to use the "manual drag" feature of PB.
1) Make sure Drag Auto is OFF
2) Add a User Event and map it to the MouseMove message (pbm_mousemove)
3) On the UserEvent ... use the DRAG ( ) method as follows ...
//Check to see if mouse button is down
If flags = 1 Then
This should leave the normal behavior of the DDLB alone until an actual dragging action is started by the user.
Regards ... Chris