I am writing a windows application using VC++6 and MFC . I wrote the program base on the vtk window sample program &quot;vtkSDI&quot;, and when I need to catch the mouse click event using classwizard like WM_LBUTTONDOWN, WM_RBUTTONDOWN or WM_MOUSEMOVE. could there be some suggestion to solve this problem?? I really need to work this program!<br><br>Thanks for your help.<br>The following is my code,but it does not work.<br><br>LRESULT CVtkSDIView::CallInteractor(UINT uMsg, WPARAM wParam, LPARAM lParam) <br>{ <br>    if (this-&gt;iren-&gt;GetInitialized()) <br>    { <br>                return vtkHandleMessage2(this-&gt;m_hWnd,uMsg,wParam,lParam,this-&gt;iren); <br>    } <br>        <br>    return 0; <br>} <br><br><br>void CVtkSDIView::OnLButtonDown(UINT nFlags, CPoint point) <br>{<br>        // TODO: Add your message handler code here and/or call default<br>        CString msg;<br>        msg=&quot;asdsadsadasdsad&quot;;<br>        AfxMessageBox(msg);<br>        this-&gt;CallInteractor(WM_LBUTTONDOWN,(WPARAM)(UINT)(nFlags),MAKELPARAM((point.x), (point.y)));<br><br>}<br><br> <font style="fontsize:14.8px">-----------------------------------------------------------<br>
<a href="http://mail.126.com/event/news2g.htm" target=_blank>免费邮箱全面进入超"G"时代 网易再捍中文邮箱霸主地位</a>