|
我return 了 但还是出错
这分别是返回和调用的代码:
LRESULT CNetWorkDlg::OnLButtonUp(UINT wParam, CPoint lParam)
{
if (isOnReturn(lParam.x ,lParam.y) )
{
mouseUp(lParam.x,lParam.y);
//Return
EndDialog(0);
return 0;
}
....
}
LRESULT CMainDlg::OnLButtonUp(UINT wParam, CPoint lParam)
{
if(isNetWork(lParam.x,lParam.y))
{
mouseUp(lParam.x,lParam.y);
CNetWorkDlg netWork;
netWork.DoModal();
}
...
} |
|