The new beta seems to have the same problem. I have tried doing the Shift control as the previous poster recomended. No. what I don't understand is why I had no problem with this with the old windows XP. The vista/W7 does not want to allow me to use the control key to select more than two entries. I found this posting from Feb 2008 in the Windows Development Forum:
I am facing some issue related to Multiple Selection in Tree-View control on Vista. I am doing the following steps:
Assume there are 3 tree-items.
(1) Select first tree-item.
(2) Press CTRL and select 2nd item. For doing this, I am calling TreeView_SelectItem(SecondItem). So, the FirstItem will be de-selected and SecondItem will be selected as expected. So, I need to set the style for FirstItem to TVIS_SELECTED by using TreeView_SetItemState(tvHwnd, FirstItem, TVIS_SELECTED, TVIS_SELECTED). till this point its fine.
(3) Now, I am trying to select ThirdItem (+CTRL). I am doing that by TreeView_SelectItem(ThirdItem). Now, the real problem comes here. On Window XP SecondItem will be de-selected and FirstItem remain selected. So, I manually set the state of SecondItem to TVIS_SELECTED, and hence all the 3 items become in selected state.
But in Vista, TreeView_SelectItem is deselecting all the previously selected items. Hence, even if I set state for SecondItem as TVIS_SELECTED, only last 2 items become in selected state. (remaining items are getting de-selected).
Hence, on VISTA multiple selection in Tree-View control is not at all getting done. On XP everythingn is working fine.
Can anyone please help me out in this scenario?
I believe this is what I am coming up against. Any ideas out there other than click two addresses at a time.