鼠标移动事件,双击事件,都没有//{{AFX_MSG(CRefLineV)
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
BEGIN_MESSAGE_MAP(CRefLineV, CWnd)
//{{AFX_MSG_MAP(CRefLineV)
ON_WM_MOUSEMOVE()
ON_WM_LBUTTONDBLCLK()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
void CRefLineV::OnMouseMove(UINT nFlags, CPoint point) 
{
// TODO: Add your message handler code here and/or call default
//::MessageBox(0, "xx", "xxx", MB_OK); CWnd::OnMouseMove(nFlags, point);
}void CRefLineV::OnLButtonDblClk(UINT nFlags, CPoint point) 
{
::MessageBox(0, "xx", "xxx", MB_OK); CWnd::OnLButtonDblClk(nFlags, point);
}