|
-
August 5th, 1999, 12:58 PM
#1
CListBox selection problem
I have a control that derived from CListBox. I have added code so that drag and drop will work with the style of multiple or extented selection. When the style of the controle is extented the drag and drop only partly works. When the user selects items with the control key it works well. But when the user selects a range of items with the shift key only one item get drag and drop. The problem is in the function OnLButtonDown where I pick up the data. When I debug into this function all the items in the control that I selected appear selected. But when I call GetSelCount() this function returns 1 telling me that only one item is selected. Somewhere down the line (I looked at OnKillFocus()) the count is correct. Does anyone have an idea how to fix this?
Thanks
-
August 5th, 1999, 01:00 PM
#2
Re: CListBox selection problem
Snippet of your code might help here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|