This project is read-only.

owner drawn vertical scroll bar

Aug 24, 2009 at 9:32 AM

Hi, I'd like to know if there is a way to owner draw the vertical scroll bar. I'm asking this because I want to place 4 buttons in the vertical scroll bar area: 2 above (move to the first row and jump to CurrentFirstViewedRow - n) and 2 below (move to the last row and jump to the CurrentFirstViewdRow + n); All of this in order to be able to build a pagination system to the grid I am building.


Sep 3, 2009 at 9:59 AM

There is a CustomScrollControl, which managers the scroll bars. You could try modifying that class to achieve what you want.


If you'd share a working code how to create a custom drawn scroll bar with 4 buttons. i could try integrating it into SourceGrid