想在状态条上显示鼠标的数值 
书中有这么一句话:
由于只需要显示视图区坐标,因此,应该将鼠标移动消息处理函数添加到视图类****View中具体代码如下
void ****View::OnMouseMove(UINT nFlags, CPoint point) 
{
// TODO: Add your message handler code here and/or call default CString str;
CStatusBar *pStatusBar;
pStatusBar=(CStatusBar *)AfxGetApp()->m_pMainWnd->GetDescendantWindow(AFX_IDW_STATUS_BAR); if(pStatusBar)
{
str.Format ("x=%3d,y=%3d",point.x,point.y);
//m_wndStatusBar.SetPaneText (1,str);
pStatusBar->SetPaneText (1,str);
CFrameWnd::OnMouseMove(nFlags, point);
}
}但为什么在void CMainFrame::OnMouseMove(UINT nFlags, CPoint point)中不行呢?这样不是可以显示包括框架在内的坐标吗????