[Win] Scrollbars
- Posted by Judith Evans <camping at FLASH.NET> Oct 18, 2000
- 424 views
I've got a problem when using the bar in a scroll bar. I'm not sure I can describe the problem very well. When the scrollbar gets focus my program does a lot of 'stuff' to show the proper data in the window. If I click on the arrow of the scrollbar or keep the mouse depressed over it, the bar in the scrollbar goes all the way up and down, or left and right for horizontal scrollbars, and gives me the real low and high range of the scrollbar. From this I know my routine to show the data relating to the scroll is correct. But if I move the bar with the mouse there seems to be some speed at which the bar gets out of sinc with the range and reaches the end of the scrollbar before it should. In other words, it thinks it is at pos 1 when, in fact, it isn't. Or it does reach the real low or high but my show-the-data routine is lagging behind. Has anyone else had this kind of problem? And, if so, what can I do about it? Thanks, Judith Evans