actually, i'm not sure how to use ur code since I don't have my List control like that, i had it created in the MFC dialog boxl; i can refer to the List control by its id
ID_LIST and such as
GetDlgItem(ID_LIST);
but the above function returns CWnd*
and not a CListCtr type.
How can I insert the text if all I have is the ID (int) of the list control in my dialog box.
Thanks.
Avendeval