Click to See Complete Forum and Search --> : ListCtrl question


Eric Sebesta
March 31st, 1999, 07:02 PM
I know how to select the first item in a multi-column

listctrl, but how can you select the second (or third...)?


Or more specifically:

I have a CListCtrl with two columns, the first

non-editable (effectively a row number), and the

second editable (the data). I want to select the

editable data (the second column) in a row whenever

someone clicks anywhere on the row (or even just

on that particular item.)


Thanks in advance.

Devendra
April 1st, 1999, 04:16 AM
Try MSFlexGrid Control.

Dazza
April 1st, 1999, 04:53 AM
There is an extended ListControl style LVS_EX_FULLROWSELECT which could help.

This is only available from version 4.70 of the Common Controls.