Sweet! I got it. Thank you thank you thank you!
Now I need to figure out how to check if an item is selected.
hwnd=QueryObject(list,1) flags=GetWindowLong(hwnd,-16) SetWindowLong hwnd,-16,flags+LVS_SINGLESEL
Now I need to figure out how to check if an item is selected.