我已经尝试过SetItemState(0,LVIS_SELECTED,LVIF_STATE)和SetSelectionMark(int index)但是这些都不行.
SetItemState(prev_item,~LVIS_SELECTED,LVIS_SELECTED); SetItemState(new_selected_item,LVIS_SELECTED); SetSelectionMark(new_selected_item);