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.

From: [] On Behalf Of Jez White
Sent: Thursday, 02 December, 2004 13:07
To: Win32-GUI
Subject: [perl-win32-gui-users] Pre selecting items in list Views and List Boxes

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?