[vtkusers] Re: Mouse wheel events not working under Win32?
julien.barneoud at kodak.com
julien.barneoud at kodak.com
Tue Jun 28 11:27:50 EDT 2005
Bonjour Mathieu,
Thanks for your answer.
I am using the 4.4 version of VTK provided with the book on the CD. I am
not using TCL wrapper for the moment, but I will do a build with it to try
the sample you provided, but I guess they will work (regarding the
following point).
I have more information to give: I am using a vtkRenderWindow embedded
into a regular Windows' window (I use SetParentID). If I remove the call
to SetParentID, a vtk window is created outside the supplied parent window
(that's normal, ok), but the mouse wheel is know working ... Is there any
point I am missing ?
I read again (and again) Charles's thread, but in his case, he is using
MFC, so he has to overide the CView::WindowProc (that's the patch, isn't
it), to handle the WM_MOUSEWHEEL case, but I am not using MFC, and I have
no WindowProc to overide, and it does not seem necessary as WM_MOUSEMOVE,
WM_LBUTTONDOWN and UP and other mouse messages are well sent to the
vtkRWI.
Any idea ?
Julien BARNEOUD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050628/d97559ae/attachment.htm>
More information about the vtkusers
mailing list