[vtkusers] Mouse wheel events not working under Win32?

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Sep 16 16:49:08 EDT 2004


Charles,

	- Does your mouse wheel works in any other Windoze apps ?

	- What happen in vtkHandleMessage2 
(vtkWin32RenderWindowInteractor.cxx), if you put a breakpoint / printf 
stuff ?

	- Are you using a simple vtkRWI window ? Or is it within your MFC app ? 
If so make sure you are passing all mouse events.

HTH
Mathieu

Charles Boivin wrote:
> 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