Re: [wxVTK] Middle Mouse Button And Scroll Wheel Events
Brought to you by:
malat
From: Shang M. <smu...@gm...> - 2008-08-04 00:52:34
|
Kerry, I would guess it's a behavior of Windows or wxWidgets on Windows, or purely wxWidges issue. I guess so because I recently met similar issue using another wx lib called wxMathPlot. I had several plots(a window derived from wxScrolledWindow) aligned in a row in a same window, and once I used mouse wheel in one plot, all later mouse wheel events are sent to that plot, even if I clicked in another plot. However, I think SetFocus() might fix both your and my mouse wheel problems. And I think I don't have middle button up/down issues. Shang ----- Original Message ----- From: "Mathieu Malaterre" <mat...@gm...> To: "Kerry Loux" <lo...@gm...> Cc: <wxv...@li...> Sent: Sunday, August 03, 2008 6:21 PM Subject: Re: [wxVTK] Middle Mouse Button And Scroll Wheel Events > What version of wxVTK are you using ? I cannot remember but I thought > at some point we had an issue with mouse wheel. Anyway, if you can get > wx to recognize mouse wheel event, there would be no reason why we > could not forward them to VTK. > > On a different subject a bug was recently submited: > > https://sourceforge.net/tracker/?func=detail&atid=669338&aid=2025027&group_id=114757 > > donno if this help or not... > > HTH > -Mathieu > > On Sat, Aug 2, 2008 at 1:39 PM, Kerry Loux <lo...@gm...> wrote: >> Hello All, >> >> I've come across a couple of curious bugs that I can't seem to track >> down, >> and they're both related to my middle mouse button. My middle mouse >> button >> up/down events don't fire. I set a breakpoint at the >> wxVTKRenderWindowInteractor OnButtonDown() function and both the right >> and >> left mouse buttons cause the breakpoint to be reached, but I get nothing >> from the middle button. Is there something else I need to do to set this >> up? >> >> Also, I am having a similar problem with the scroll wheel. When I first >> start my app, I can use the scroll wheel just fine, but if I click on >> another control, then click back into the RenderWindow, the scroll wheel >> no >> longer functions. Same deal with the breakpoints - the event handler is >> never called. >> >> Any ideas on these? Has anyone else noticed this behavior? >> >> Thanks for your help! >> >> -Kerry >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Wxvtk-users mailing list >> Wxv...@li... >> https://lists.sourceforge.net/lists/listinfo/wxvtk-users >> >> > > > > -- > Mathieu > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users |