CListView multiple lines problem

 

Hello,

I implemented the class CListView in my code to make a multiple line editable list (for the user to write in). Everything works well except one thing: only 1 line is selectable at a time with the mouse. Any idea how I can make it so that dragging left-click over the list, it selects all lines?


How the list shows: 

 

This is the code that creates the list, inserted in a class with a dialog window:


bool COrderPanel::CreateListReason(void)
{
   int x1=INDENT_LEFT;
   int y1=INDENT_TOP+(5*SPACE);
   int x2=x1+(3*CTRL_WIDTH);
   int y2=y1+(3*CTRL_HEIGHT);
//create
   if(!EditReason.Create(m_chart_id,m_name+"ListReason",m_subwin,x1,y1,x2,y2))
      return(false);
   if(!Add(EditReason))
      return(false);  
   return(true);
}

 

Thanks! 

Reason: