wxScrollbar slider limitation

Hi!

Is there a limitation for the slider? I found this link but I don’t now whether it’s still up to date (it’s from 2001):

http://lists.wxwidgets.org/pipermail/wx-users/2001-March/008217.html

regards

Stefanie

Stefanie Lück wrote:

Hi!
Is there a limitation for the slider? I found this link but I don't now whether it's still up to date (it's from 2001):
http://lists.wxwidgets.org/pipermail/wx-users/2001-March/008217.html

No, that limitation should be long-gone, unless your app is running on win98 or something. If that's a possibility then you can just scale the range given to the scrollbar to be some factor of the real range, and then scale the position by that factor when fetching values from the scrollbar. Unless you've got more than 32768 horizontal or vertical pixels on your screen then you won't be losing any accuracy.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!