[vtkusers] Mouse wheel events not working under Win32?

Charles Boivin Charles.Boivin at rwdiwest.com
Thu Sep 16 16:48:13 EDT 2004


Let me just add a bit to this: 

I have tracked the events all the way up to
vtkWin32RenderWindowInteractor. In the vtkHandleMessage2() member
function, the case: statement WM_MOUSEWHEEL never gets executed (no
matter how hard I scroll that wheel, LOL). I thought this might help
some of you understand what is going on.

Thanks in advance,

Charles Boivin

>>> "Charles Boivin" <Charles.Boivin at rwdiwest.com> 09/16/04 02:30pm
>>>
Hello all,

I have been trying to capture MouseWheel events in my own
InteractorStyle object without any success. I am using Visual Studio
.NET 2003 and the CVS version of VTK (CVS updated yesterday) on
Windows
XP.

I have been tracking down the events using the debugger and there does
not seem to be *any* calls made to vtkInteractorStyle::ProcessEvents()
that contain either MouseWheelForwardEvents or
MouseWheelBackwardEvents.
This is *regardless* of the interactor style object that ends up being
used (my own, or the default one).

I looked at the mailing list archives and it looked like this had been
implemented and was functional... am I missing something? Do I need to
set some macro to make sure that mouse wheel events are generated?

Thank you,

Charles Boivin

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list