Re: USER32: GetScrollBarInfo
Vitaly Lipatov <lav(a)etersoft.ru> writes:
--- scroll.c 8 Dec 2004 18:06:15 -0000 1.3 +++ dlls/user/scroll.c 4 Jan 2005 14:27:08 -0000 @@ -27,7 +27,7 @@ * the specification mentioned above. * If you discover missing features, or bugs, please note them below. * - * TODO: + * TODO: needs check follow realized functions: * - GetScrollBarInfo * - SBM_GETSCROLLBARINFO * - SCROLLBARINFO @@ -1424,10 +1461,12 @@ case SBM_GETSCROLLINFO: return SCROLL_GetScrollInfo(hwnd, SB_CTL, (SCROLLINFO *)lParam);
+ case SBM_GETSCROLLBARINFO: + return GetScrollBarInfo(hwnd, SB_CTL, (SCROLLBARINFO *)lParam);
You have to do that the other way around, GetScrollBarInfo should send a SBM_GETSCROLLBARINFO message, similar to what GetScrollInfo does. -- Alexandre Julliard julliard(a)winehq.org
В сообщении от 7 Январь 2005 19:51 Alexandre Julliard написал(a):
Vitaly Lipatov <lav(a)etersoft.ru> writes:
--- scroll.c 8 Dec 2004 18:06:15 -0000 1.3 +++ dlls/user/scroll.c 4 Jan 2005 14:27:08 -0000
+ case SBM_GETSCROLLBARINFO: + return GetScrollBarInfo(hwnd, SB_CTL, (SCROLLBARINFO *)lParam);
You have to do that the other way around, GetScrollBarInfo should send a SBM_GETSCROLLBARINFO message, similar to what GetScrollInfo does. Thank you, I will post new patch after patch renamed SCROLL_GetScrollBarInf into SCROLL_GetInternalInfo will be committed.
-- Vitaly Lipatov, ALT Linux Team Russia, Saint-Petersburg, www.etersoft.ru
participants (2)
-
Alexandre Julliard -
Vitaly Lipatov