((CChatClientDlg*)(AfxGetApp()->m_pMainWnd))->m_ListWords.SetWindowTextA("连接成功");为什么这里要用(AfxGetApp()->m_pMainWnd)获取主对话框