How do I edit a "ell in an MFC Listbox?

Posted by Pedro on Stack Overflow See other posts from Stack Overflow or by Pedro
Published on 2010-04-18T05:50:24Z Indexed on 2010/04/18 5:53 UTC
Read the original article Hit count: 474

Filed under:
|
|
|
|

I have CListBox control that has 2 columns and any number of rows. I want the user to be able to click(or maybe double-click) a "cell" and be able edit the text therein.

link text (Can't post images yet, need +10).

What I mean is that I want to be able to click and edit any of the places where it says "TEST" by clicking on the text to make it editable.

How should I go about this? I suppose I should use a mouse click event but how would I make the cell editable?

© Stack Overflow or respective owner

Related posts about mfc

Related posts about Windows