wxNotebook switch tabs on mouse wheel scroll

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Alberto García
Earned a small fee
Earned a small fee
Posts: 15
Joined: Sun Apr 24, 2016 5:24 pm

wxNotebook switch tabs on mouse wheel scroll

Post by Alberto García »

Hi, I have a wxNotebook with a few pages, I have seen that in Codeblocks ( which I think that is built in wxWidgets ) when I do scroll with my mouse hover the tabs, it switchs to the previous or next tab according the current tab active. I want to reproduce this behavior in my program. My question is if I have to program it by myself using events, or this behavior can be activate in wxWidgets using some option.

Thanks in advance.
Manolo
Can't get richer than this
Can't get richer than this
Posts: 827
Joined: Mon Apr 30, 2012 11:07 pm

Re: wxNotebook switch tabs on mouse wheel scroll

Post by Manolo »

I don't see this default behaviour. You should code it yourself.
Post Reply