"Andrew M. Johnston" johnstonam@logica.com writes:
controls.h - improve the scroll bar nonclient separation nonclient.c - remove NC_TrackScrollBar and use scrollbar WINAPI routine scrollbar.c - complete rewrite using similar structure and logic - unified drawing code - simpler event processing logic - minimised drawing - better conformance to windows on LINEUP and LINEDOWN events
All the flat scrollbar stuff has nothing to do in scroll.c, the normal scrollbars shouldn't need to know anything about flatsb at all. The flatsb control should intercept messages it needs to change by subclassing the windows, and call down to the normal scrollbar where necessary.
Note: it is possible to split the scroll changes up into three consistent parts if really necessary
That would be nice. Also if you could avoid unnecessary changes like renaming SCROLLBAR_INFO to SCROLL_INFO that would make it easier to see what is really being changed.