Re: win32lib scrollbar bugs
- Posted by daryl_vdb at hotmail.com Feb 06, 2003
- 436 views
>That is not a bug in win32lib.... u have the option of changing that value >in win32lib. That's exactly what my demo program does. It still limits you to 100. Try it yourself. This only affects windows, not scrollbar controls. I realise that microsoft were stupid enough to use a 16-bit unsigned int somewhere in windows, but I thought that if that was the case, it wouldn't allow you to scroll past 65535 with the buttons either. Try it for yourself: drag the scrollbar to some position just before 65536, then use the button at the end of the scrollbar to move it further along. If you do this, it will go past 65536. I know this is also a bug in windows and I'm not blaming win32lib, but it is wierd behaviour. It also puzzles me as to why windows would let me set 32 bit scroll ranges. Anyway, Derek says that the latest win32lib will support 32 bit scroll ranges, which I am thankful for. regards, Daryl Van Den Brink