I want to execute some code when the user selects a row in a CListCtrl (report view, I don\'t care about the other viewing modes).
How do I catch this event? is the
djeidot is right on.
I just want to add that there is no OnSelectionChanged() because the ListView supports multi-selection (although this can be disabled). Therefore, a single-selection listview will send you two events: Old item unselected AND New item selected.