I hope this isn't a stupid question, but have you tried
Select(INDEX) and Deselect(INDEX)? I don't think they are exact equivalents of
SetSel, but they do what I *think* you want to do.
I'm trying to pre select several items that appear
in a list view. These items have been selected by the user previously, so when
the list is reshown later I want those items to be pre-selected. The
example below works with a list box - but for the life of me, I can't seem
to get it working with a list view? Am I missing something?