其中一个Dialog 调用另一个Dialog:
void CTest_TwoDlg::OnOK() 
{
// TODO: Add extra validation here

CInDialog Input;
Input.DoModal();
         UpdateData(FALSE); char strtemp[20];
int Index=0 ;
Index = Input.m_ListUser.GetCurSel();
Input.m_ListUser.GetText(Index,strtemp);// AfxMessageBox(strtemp);
}
这样为什么不可以啊,请指点以下!我的意思是从一个ListBox中选中的数据,拷贝到另一个ListBox中!
谢谢!