编译提示此句有错,望指正
编译提示此句有错
BEGIN_MESSAGE_MAP(CChatDlg, CDialog)
ON_WM_SYSCOMMAND()
ON_WM_PAINT()
ON_WM_QUERYDRAGICON()
//}}AFX_MSG_MAP
// ON_EN_CHANGE(IDC_EDIT_SEND, &CChatDlg::OnEnChangeEditSend)
ON_MESSAGE(WM_RECVDATA,OnRecvData)
END_MESSAGE_MAP()
出错内容如下
error C2440: “static_cast”: 无法从“void (__thiscall CChatDlg::* )(WPARAM,LPARAM)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)”
我用的是VS2005
[此贴子已经被作者于2006-11-26 14:25:39编辑过]