| | hi, im trying to add stuff to a listbox in a dialog called by my CDocument class ie. CODE CMyDocument::DoSomeStuff() { CMyDialog dlg; dlg.listbox.addString("whatever"); ******** dlg.listbox.doModal(); } do i need to add something at the ******* to refresh my listbox because at the moment it is appearing downright empty. i created it by making a dialog in the resource editor of vc++ .NET 2003 and then using add class wizard, and add member wizard to make the listbox an accessable control. thanks for your time! |

