Channels ▼   Developing a Custom Windows Scrollbar in MFC
Developing a Custom Windows Scrollbar Control in MFC  Download
the code for this issue  Scrollbar controls are useful for many
functions. They can be used to select a value, scroll a window,
or set a zoom range. They are typically used for scrolling
window or drawing areas, as setting position data is typically
done with the trackbar (slider) controls. And scrollbars still
seem to have their purpose in Windows. However, would they be
more useful if they could be customized?  One problem with using
a standard scrollbar in Windows is that you have to handle the
WM_HSCROLL and/or WM_VSCROLL messages. These messages are
handled in the scrollbar's parent window, and then need to
handle the scrollbar position and range to be able to have the
parent window update the scrollbar position. So you can see that
the scrollbar object itself is not really in control of updating
its value and position. The trackbar (slider) control in Windows
does handle updating its