Enable selection of any part of line in CListCtrl
Posted on 1998-07-23
I have created a CListCtrl in a report style with single line selection. I have it sorting by multiple columns and it works great except that users can only click on the text of the first column. If you try to click on any part of the line to the right of the first column, nothing gets selected. This stinks because some of my lists have very small (few characters) first columns. It's natural to think you can click anywhere on the line.
I see that Microsoft Outlook does it right, but I don't see any style settings to control this. Anybody got any ideas on how to enable full line selection in a CListCtrl?