470,594 Members | 1,454 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,594 developers. It's quick & easy.

ListView with groups - problems selecting multiple items

I have a ListView within a dialog. In code the groups are created and
items added. Display is 100% correct. The problem is with using
Shift to select multiple items in the list.

- If you select the first item and then a second next to it, it
reverses the selection
- If you select the first item and then Shift to a few further down or
across groups it selects all but reverses the initial item

This behavior doesn't occur when the ListView has NO groups. Is this
a known bug, desired behavior, unknown bug?

Thanks,
Calvin.
Jan 2 '08 #1
1 1943
>I have a ListView within a dialog. In code the groups are created and
>items added. Display is 100% correct. The problem is with using
Shift to select multiple items in the list.

- If you select the first item and then a second next to it, it
reverses the selection
- If you select the first item and then Shift to a few further down or
across groups it selects all but reverses the initial item

This behavior doesn't occur when the ListView has NO groups. Is this
a known bug, desired behavior, unknown bug?
It would seem to be pretty odd behaviour - certainly Explorer in XP
doesn't behave that way when you set it to display in Groups.

Which OS are you testing on - is it consistent on different OS's?

Dave
Jan 2 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Paddy | last post: by
2 posts views Thread by David Anderson | last post: by
3 posts views Thread by Ņ Mahesh Kumar | last post: by
3 posts views Thread by Bry | last post: by
5 posts views Thread by Jure Bogataj | last post: by
8 posts views Thread by Lord Zoltar | last post: by
6 posts views Thread by Mike | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.