Limiting CScrollView scrolling area
Posted on 1998-06-19
If you look at the display for a typical text file in Visual C++ you will see a grey area along the left hand border. This prevents the characters from being placed too close to the left hand border, and gives a target area for mouse operations such as select line. Scrolling does not effect the size of this area, it's always there. Furthermore, the scroll bars go all the way to the left hand edge.
This is pretty slick, anyone know how it's done? In particular I would like to do the same thing along the top of a vertically scrolling window.