c++mfcwindows-mobileclistctrl

CListCtrl - how to enable multiple selection


I am creating a MFC application for Windows Mobile and don't know how to enable multiple selection for List Control (CListCtrl). In properties panel Single Selection is set to False but still can't select multiple items.

Any idea?


Solution

  • I have never targeted Windows Mobile but you might try the following:

    list.ModifyStyle(LVS_SINGLESEL, 0);