Hi, I''m having some trouble allowing the user to edit a multi-column listctrl. I can do the first column fine, simply by calling ListCtrl::edit_label in the activate event, but it seems impossible to do this for the other columns for two reasons. 1, the activate event doesn''t allow you to get the column, and 2, edit_label onl;y works for the first column. Thanks, Lucas
Hi Lucas Levin wrote:> I''m having some trouble allowing the user to edit a multi-column > listctrl. I can do the first column fine, simply by calling > ListCtrl::edit_label in the activate event, but it seems impossible to > do this for the other columns for two reasons. 1, the activate event > doesn''t allow you to get the column, and 2, edit_label onl;y works for > the first column. >I can''t find a reference right now, but I have a feeling that only the first column is editable - I think because not all the native controls support editing of secondary columns. You might look into Wx::Grid, which does support this. Its appearance is highly customisable so you could make it look more like a ListCtrl if you wished. a