Original Post
Hi! I'm having big problems with CListBox. I'm making a mapeditor and I just made a dialog for it that has a List Box. But I can't add any items to the list box util i run doModal(). My ListBox control i called m_list and i've tried to add m_list.addString("test) everywhere but it doesn't show up when the dialogbox runs. I tried to add a "test" button to se if I could add a value when it runs, and that works perfectly. This is what i want to do: CTaglistDlg dlg; for(int i=0;i<10;i++) dlg.m_list.addString("testing"); dlg.DoModal(); but the list is empty when i run it. Thanks for your help!