
i cannot add an item to my list box that is located within my dialog box
i have
Visual C++ starter kit 2.0, that is the working version. i am trying
to create a list box for a dialog box i created, but it gives me an
assertion error. i had a program where i created a list box on the main view
form and that worked. In the current prgram in which i have my list box
created in the dialog box i used the syntax statement:
dlg.listbox.AddString("Item");
In the other other program that does work with the list box the syntax
statement is: listbox.AddString("item");
what am i doing wrong to get that assertion error?
I am so sure that the where i have the statement it is correct, i am
wondering if it has anything to do with the fact that i am using a working
version and not a full version.
please help me!