how do i add text to a list box.. I dont seem to be making any progress. Below is a snippet of what i am trying to do
I have a property page with a list box in it.
Inside the property page i have placed a list box
inside the property page class i have attached a member variable to my list box, including the ddX...
CListbox m_listbox;
I then have another class, i have a function that attempts to add a string to the resource list box. I am trying to fill strings into the listbox but nothing is happening. This is how i am trying to do it...
my_propertypageclass proppage;
proppage.m_listbox.AddString("sdfsdfs"
;
this also doesnt work....
my_propertypageclass* proppage;
proppage->m_listbox.AddString("sdfsdfs"
;
So my question is if i have a dlg control resources attached to member variables in class A, then i have another class B. How do i read or write data etc to from the resources through member variables from a member function of class B?
I have a property page with a list box in it.
Inside the property page i have placed a list box
inside the property page class i have attached a member variable to my list box, including the ddX...
CListbox m_listbox;
I then have another class, i have a function that attempts to add a string to the resource list box. I am trying to fill strings into the listbox but nothing is happening. This is how i am trying to do it...
my_propertypageclass proppage;
proppage.m_listbox.AddString("sdfsdfs"
this also doesnt work....
my_propertypageclass* proppage;
proppage->m_listbox.AddString("sdfsdfs"
So my question is if i have a dlg control resources attached to member variables in class A, then i have another class B. How do i read or write data etc to from the resources through member variables from a member function of class B?