Scrollbars Top and Bottom do not behave as expected
|Reported by:||IGOAL_William||Owned by:|
|Keywords:||MSW wxScrollbar wxEVT_SCROLL_TOP wxEVT_SCROLL_BOTTOM||Cc:|
I'm running a Windows2K machine, and when I right click on a scrollbar and select the "top" or "bottom" menu options, they do reverse of what I expect.
Not only that, the mechanism "to do nothing if the wxScrollbar message is received but not changes are detected" are getting in the way of overriding wxEVT_SCROLL_TOP and wxEVT_SCROLL_BOTTOM. So when I'm at the bottom, I cannot scroll to the top, and when I'm at the top I can't scroll to the bottom using these menu commands because it doesn't detect any changes in the default implementation of wxScrollBar::MSWOnScroll.
Someone pointed out to me that the MSWOnScroll function is virtual so I can override the MSW function, but it seems like the default implementation should be changed.
Change History (4)
comment:1 Changed 4 years ago by vadz
- Milestone future deleted
- Status changed from new to infoneeded_new
comment:2 follow-up: ↓ 3 Changed 4 years ago by IGOAL_William
- Status changed from infoneeded_new to new