how can I add items (strings) to a list control?
Using SetDlgItemText(ID,"xxx"
doesn't work.
any suggestions. i just need some direction, no need to write long code.
thanks. Avendeval
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.