I am making an MFC application and I want to have a dialog with a scroll bar. I have added the scroll bar control from the tool box to my dialog, but it doesn't actually do anything. Are there any additional things I need to do to make my scroll bar scroll

MFC scroll bar control
dom123456
http://msdn.microsoft.com/library/default.asp url=/library/en-us/vclib/html/_mfc_cwnd.3a3a.showscrollbar.asp
http://msdn.microsoft.com/msdnmag/issues/01/11/c/default.aspx
http://msdn.microsoft.com/library/default.asp url=/library/en-us/vclib/html/_mfc_scroll.2d.bar_styles.asp
http://msdn.microsoft.com/library/default.asp url=/library/en-us/vclib/html/_mfc_cscrollbar.3a3a.create.asp
Thanks,
Ayman Shoukry
VC++ Team
成工
In short words, you've got to deal with the message WM_HSCROLL (or WM_VSCROLL for a vertical scroll bar control). You may refer to Inside Visual C++ 6.0