MFC :: Handling WS_VSCROLL (OnVScroll) ... Please help.
Hello. Thanks for reading my post; hopefuly you can help me out. I am on a Windows 2000 Pro. computer, and I am using MS Visual C++ 6.0 Standard. I have an application, a level editor I am working on for a game, and it's coming along well. The view class is derived from CView. Everything displays just fine, but I am having a little bit of trouble. I want the user to be able to scroll (horizontally and vertically). I can use the arrow keys to scroll, by calling ScrollWindow(), but I need another way to do this, too. I added the function OnVScroll() to my view class source file, but it doesn't scroll. How would I handle the function to scroll? Also, how would I set the size of the scrollbar so that it only scrolls to a certain point, and can't scroll anymore? I hope you know what I mean. If you can, please provide an answer to my question(s).