Here's one way. This will clear the list, then you just use the Blitz command to select the gadget items that should be selected:
hwnd=QueryObject(list,1)
flags=GetWindowLong(hwnd,-16)
SetWindowLong hwnd,-16,flags-LVS_SINGLESEL
SelectGadgetItem list,0
SetWindowLong hwnd,-16,flags
How about making it so the list doesn't scroll to the bottom of the selection? I find that extremely annoying!
hwnd=QueryObject(list,1)
flags=GetWindowLong(hwnd,-16)
SetWindowLong hwnd,-16,flags-LVS_SINGLESEL
SelectGadgetItem list,0
SetWindowLong hwnd,-16,flags
How about making it so the list doesn't scroll to the bottom of the selection? I find that extremely annoying!