On Wed, Jul 09, 2014 at 11:10:06AM +0100, Matthew Flatt wrote: > At Wed, 9 Jul 2014 13:59:31 +0400, Dmitry Pavlov wrote: > > Interesting, thanks! You are right -- Windows does the scrolling > > smoothly with 1000 buttons. As a separate issue: look what > > happened when I raised the number to 1500: > > It looks like drawing is cut off at 32767 pixels (= largest positive > value of a 16-bit signed integer). I think I looked into this before > and concluded that it's a limitation of Win32 controls, but I don't > recall how hard I tried to fix it.
I hit this limit in a gtk program a few years ago. It also exists on the Amiga. It's a rather common restriction in GUI toolkits. > > ____________________ > Racket Users list: > http://lists.racket-lang.org/users ____________________ Racket Users list: http://lists.racket-lang.org/users