比如实现鼠标悬停在哪个控件上面就显示哪个控件的名字如下,重写方法LRESULTMainWnd::OnMouseHover(UINTuMsg,WPARAMwParam,LPARAMlParam,BOOL&bHandled)LRESULTMainWnd::OnMouseHover(UINTuMsg,WPARAMwParam,LPARAMlParam,BOOL&bHandled){POINTpt={GET_X_LPARAM(lParam),GET_Y_LPARAM(lParam)};CControlUI*pHover=m_PaintManager.FindControl(pt);if(pHover=