Yes, but before deleting the item, you'd probably want to send a LB_GETTEXT
message. You're on the right track, though.
Quote:
> How do I change an existing line of a listbox?
> I can only seem to find LB_ADDSTRING, LB_INSERTSTRING, LB_DELETESTRING
> and LB_RESETCONTENT.
> I would assume by this, that if I have 10 lines and wanted to change
> line 4, I need to do an LB_DELETESTRING on that line and then do an
> LB_INSERTSTRING.
> Is this right?
> Thanks,
> Tom