Change the Text of a ListBox Item?

HI,

In my Listbox I have from time to time a changed value. Is it possible to change the text of a ListBox Item, like index 2 by code?

Ingo
OcranaAsked:
Who is Participating?
 
Jaime OlivaresConnect With a Mentor Software ArchitectCommented:
Unfortunately, there is not such feature with regular listboxes. You have 2 choices.
- Delete and insert an item again
- Use owner draw to change the text whenever you want
0
 
Jaime OlivaresSoftware ArchitectCommented:
are you working with MFC's CListView? could you post some code where to make modifications?
0
 
OcranaAuthor Commented:
Hi, no I use CListBox
0
 
Jaime OlivaresSoftware ArchitectCommented:
Do you have choosen an alternative?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.