Rein Klazes wijn@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
On 28 Mar 2005 12:48:11 +0200, you wrote:
Rein Klazes wijn@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.