how can i pass data into the edit box using the code below??

CString tmpBuf;
POSITION pos= m_OrderList.GetFirstSelectedItemPosition();
int sel=m_OrderList.GetNextSelectedItem(pos);
tmpBuf=m_OrderList.GetItemText(sel, 0);

tmpBuf=m_OrderList.GetItemText(sel, 1);

// TODO: Add your control notification handler code here
Order1 link_To_Order;

when i include the code below, the run-time error occur


how can i add the IDC_ORDERNO from another into the current class?
the m_OrderList is the variable foir my list control

hope someone can help me, if not clear abt my problems, u may e-mail me at