Scroll bar question
I'm writing an application, and I have a question about scroll bars. I would like to know how to increase the size of the actual scroll bar, meaning the little box that you drag around to move the screen. I would like to make it longer to indicate the relative amount of screen that is showing. Thanks in advance.
goto msdn ;
That code won't work!!! FIX IT!!! IS THAT C OR C++?!?!?!?!
Originally posted by Stoned_Coder goto msdn ;
Actually, I have already perused said website. There is a member value in the SCROLLINFO structure that I think applies to what I'm trying to do:
Specifies the page size. A scroll bar uses this value to determine the appropriate size of the proportional scroll box.
I don't know what they mean by page size, though. I thought page size was how much the scroll bar moved when you clicked on the scroll bar away from the little box.
Attatched is petzolds scroll demo. The code is reasonably self explanatory apart from hungarian notation. Play with it.