Re: Two small scrollbar fixes
Rein Klazes <wijn(a)wanadoo.nl> writes:
dlls/user : scroll.c dlls/user/tests : win.c
- GetScrollRange should return an empty range, both upper and lower limit zero, if the window has no scrollbars (msdn); - GetScrollInfo's return value is FALSE if the window has no scrollbars;
This breaks the message test: msg.c:2761: Test failed: GetScrollInfo error 5 msg.c:2761: Test failed: GetScrollInfo error 5 -- Alexandre Julliard julliard(a)winehq.org
On 28 Mar 2005 12:48:11 +0200, you wrote:
Rein Klazes <wijn(a)wanadoo.nl> writes:
dlls/user : scroll.c dlls/user/tests : win.c
- GetScrollRange should return an empty range, both upper and lower limit zero, if the window has no scrollbars (msdn); - GetScrollInfo's return value is FALSE if the window has no scrollbars;
This breaks the message test:
msg.c:2761: Test failed: GetScrollInfo error 5 msg.c:2761: Test failed: GetScrollInfo error 5
I see, SB_CTL is treated different. Attached is an upgraded patch. Changelog: dlls/user : scroll.c dlls/user/tests : win.c - GetScrollRange should return an empty range, both upper and lower limit zero, if the window has no scrollbars (msdn); - GetScrollInfo's return value is TRUE is nBar is SB_CTL or if anything is filled in the SCROLLINFO structure, otherwise the return value is FALSE. Rein.
participants (2)
-
Alexandre Julliard -
Rein Klazes