RE: win32lib scrollbar bugs

new topic     » goto parent     » topic index » view thread      » older message » newer message

>This behaviour is not related to Win32Lib or any bug...
>
>Microsoft (in their infinite wisdom) decided the messages that indicate
>scroll bar position, WM_HSCROLL and WM_VSCROLL, are limited to 16 bits
>of position data (65535 max).  I am not aware of any reliable work
>around apart from creating a custom scroll bar control.
>
>Don

It looks like I'll have to create a custom control.  My wave editor
program will require very long scrollbar ranges for large files.

Acrually, I did find the cause of the bug for window scrollbars.
In function NewControl:

window_range[id] = {0, 100}

change it to {0, 65535} and youll get full use of the scrollbar.
This is definitely a bug in win32lib.

regards,
Daryl Van Den Brink

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu