I’ve looked through the DirectScrolledFrame source code and I can’t figure out exactly how it manipulates the canvas when the scrollbar is moved/the buttons are pressed.
I want to call the function that’s called when the scrollbar scrolls when the user scrolls her middle mouse button.