Auto-scrolling with wxScrolled when user is making a selection
Auto-scrolling with wxScrolled when user is making a selection
What would be the best way of going about implementing auto-scrolling in wxScrolled<wxWindow>, when you are holding down the mouse button and move the cursor past the edge of the window? This would be for the purpose of allowing people to do selections (here, of tiles) that are greater than the visible client size.
Re: Auto-scrolling with wxScrolled when user is making a selection
It's already built it. It will be triggered if the mouse is captured on that window and the mouse leaves the client area. Unfortunately it only works in one direction at a time, horizontal or vertical, not both.
Use the source, Luke!