[vtkusers] onMouseMove not received in vtkMFCRenderView

Mike Gagnon mike at gagnon.com
Wed Jun 26 21:58:40 EDT 2013


Hi all,

Has anyone had any issues getting MouseMove events in MFC for the 
vtkMFCRenderView?  I've setup the message map in my view like this:

BEGIN_MESSAGE_MAP(CMyView, vtkMFCRenderView)
   ON_WM_MOUSEMOVE()
END_MESSAGE_MAP()

but my CMyView::OnMouseMove never gets called...

void CMyView::OnMouseMove(UINT nFlags, CPoint point)
{
     vtkMFCRenderView::OnMouseMove(nFlags, point);

}

I'm stumped...  Thanks for any help!
Mike




More information about the vtkusers mailing list