471,066 Members | 1,387 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,066 software developers and data experts.

Listbox Multiple Selection Drag and Drop Issue.......


Hi there,

I have a list box (just happens to be owner draw). When I select multiple
items using the CTRL key, the items I have selected become highlighted
(obviously). Now, when I click on one of the selected items in order to
initiate a Drag operation, the other items are deselected and the item I
have just clicked becomes the only one selected!

I tested this with a normal list box (not owner draw) on a simple form. I
can select multiple rows, but each time, when I select one of the selected
items to begin a drag, its as if a new selection has taken place. Is there
any way around this? The listbox control seems to do this *before* I get
the Mousedown event, so I cannot see what I can do to change this behaviour.

Thanks
Robin
Nov 20 '05 #1
0 1649

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Dean Slindee | last post: by
1 post views Thread by andrew nott | last post: by
3 posts views Thread by thomasp | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.