Redirect wxEVT_MOUSEWHEEL events to control pointed at

Lars Christensen larsch.wxlist at belunktum.dk
Sun Sep 23 08:13:49 PDT 2007


Hi,

In my application, I would like to have the control under the mouse 
cursor to receive any wxEVT_MOUSEWHEEL event.  How can this be done?

I have a split window (with wxSplitterWindow) with a wxTreeCtrl on the 
left and a wxCanvas on the right. When I scroll the mouse wheel, only 
the focused window receives the event, but I'd like the control under 
the cursor to receive it.

Thanks,
Lars





More information about the wx-users mailing list