Originally posted by wow9999
I used SetItemState, but only the last item will be seleted and get focus;
You should also make sure that your list control doesn't have the LVS_SINGLESEL style set.