[vtkusers] vtk samplev31 is no response for mouseclicking !!
Shade
shade_cn at yahoo.com
Tue May 15 01:48:15 EDT 2001
In vtkMFCRenderView::indowProc() there is
return vtkHandleMessage(this->m_hWnd, message, wParam, lParam);
Change to
return vtkHandleMessage2( this->m_hWnd, message, wParam, lParam, this->m_pInteractor );
Then your problem will be resolved.
Best Regards,
***********************************************************
Liu Jiquan
College of Biomedical Engineering & Instrument Science
Zhejiang University
Hangzhou, Zhejiang, 310027
P.R.China
Tel: +86-571-7951792Ext.13
Fax: +86-571-7951792Ext.18
EMail:shade_cn at yahoo.com
***********************************************************
-----Original Message-----
From: vtkusers-admin at public.kitware.com [mailto:vtkusers-admin at public.kitware.com]On Behalf Of jjkozi
Sent: Tuesday, May 15, 2001 11:35 AM
To: vtkusers at public.kitware.com
Subject: [vtkusers] vtk samplev31 is no response for mouseclicking !!
I am writing a windows application using VC++6 and MFC also vtk3.1.2. I wrote the program base on the vtk window sample program "sample31", and when I need to catch the mouse click event using classwizard like WM_LBUTTONDOWN, WM_RBUTTONDOWN or WM_MOUSEMOVE. But It does not work, I use debug mode and check to see if message go throuth the OnLButtonDown Event when I click the mouse , the result is no! And I check the WM_KEYDOWN and WM_MOUSEWHEEL etc. event, it works fine, could there be some suggestion to solve this problem?? I really need to work this program!
Thanks for your help.
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿü:¢æÿügÊ«~·ÿ&¡¢Ü¢fv·¬±«a¶Úÿÿù_òj(ýÊ&
More information about the vtkusers
mailing list