Drag and Drop Listbox
How to drag/drop to a specific listbox. This sample shows how to move ListBox items around by dragging and dropping. A line is shown where the item will be dropped. Includes auto-scrolling of the ListBox.
About this post
Posted: 2017-07-17
By: BlackBeltVB
Viewed: 586 times
Categories
Attachments
DRAGDROP.ZIP
Posted: 7/17/2017 9:22:46 AM
Size: 4,235 bytes
Requirements
This code originally appeared on BlackBeltVB.com, and has been republished here with the permission of Matt Hart.
Special Instructions
Uses the following API functions:
- GetClientRect
- GetCursorPos
- ScreenToClient
- SendMessage
- And these messages:
- LB_GETITEMRECT
- LB_GETITEMHEIGHT
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.