1.用户自定义消息
vc6.0 版本
#define UM_SEND_DONE WM_USER+1
afx_msg void OnRevDone(WPARAM wParam. LPARAM lParam)
ON_MESSAGE( UM_SEND_DONE,OnRevDone)
void CChatOne::OnSendDone(WPARAM wParam. LPARAM lParam){}
vs2010 版本
#define UM_SEND_DONE WM_USER+1
afx_msg LPRESULT OnRevDone(WPARAM wParam. LPARAM lParam)
ON_MESSAGE( UM_SEND_DONE,&CUDPChatDlg::OnRevDone)
LPRESULT CChatOne::OnSendDone(WPARAM wParam. LPARAM lParam){}