CString is a MFC class that holds a string of chars.
The CListBox control class is used to display a list of strings that the user can choose from.
The CEdit control class is used to display and edit text. It can be set to single line or multiline mode.
In order to add strings to CListBox object you call the CListBo::AddString() method.
For example if you want to add three items "text1", "text2" and "text3" to the list box, you can write this code:
CListBox m_listBox;
m_listBox.AddString(_T("text1"));
m_listBox.AddString(_T("text2"));
m_listBox.AddString(_T("text3"));
If you need to set a text to CEdit object you can call the CEdi::SetWindowText() method.
For example:
CEdit m_editCtrl;
m_editCtrl.SetWindowText(_T("text3"));
Hope it helps.
You need to be more specific in describing what you are trying to do.