[vtkusers] Mouse wheel events not working under Win32?
Charles Boivin
Charles.Boivin at rwdiwest.com
Thu Sep 16 17:44:41 EDT 2004
Hi Mathieu, thanks for your reply.
In response to your questions:
a) Yes, the mouse wheel works fine in other windows apps. In fact, it
even works in the vtk debug window
b) There are no WM_MOUSEWHEEL messages being passed to
vtkWin32RenderWindowInteractor::vtkHandleMessage2()
c) This is from a MFC app. In fact, it is from the VTK MFC SDI sample
application that I have modified a bit. Mind you, this is the SDI
application from version 4.4. Would the one from the CVS version pass
all the mouse events? I am definitely NOT a MFC guru, so I am not sure
how I should go about this.
Thank you for your reply.
Charles
>>> Mathieu Malaterre <mathieu.malaterre at kitware.com> 09/16/04 02:49pm
>>>
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
>
_______________________________________________
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