Re: USER32: GetScrollBarInfo
26 2005 01:42 Alexandre Julliard (a): Vitaly Lipatov [EMAIL PROTECTED] writes: +static BOOL SCROLL_GetScrollBarInfo(HWND hwnd, LONG idObject, LPSCROLLBARINFO psbi) +{ +RECT rect; +INT arrowSize, thumbSize, thumbPos, nBar, vertical; +FIXME(check me); This doesn't sound very encouraging... I have not time for write full test this function, but I have the implementation. If anyone will use it, he will can check for correctly. P.S. Or we can remove this line with FIXME :) -- Vitaly Lipatov, ALT Linux Team Russia, Saint-Petersburg, www.etersoft.ru
Re: USER32: GetScrollBarInfo
Vitaly Lipatov [EMAIL PROTECTED] writes: +static BOOL SCROLL_GetScrollBarInfo(HWND hwnd, LONG idObject, LPSCROLLBARINFO psbi) +{ +RECT rect; +INT arrowSize, thumbSize, thumbPos, nBar, vertical; +FIXME(check me); This doesn't sound very encouraging... -- Alexandre Julliard [EMAIL PROTECTED]
Re: USER32: GetScrollBarInfo
7 2005 19:51 Alexandre Julliard (a): Vitaly Lipatov [EMAIL PROTECTED] writes: --- scroll.c 8 Dec 2004 18:06:15 - 1.3 +++ dlls/user/scroll.c 4 Jan 2005 14:27:08 - +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
Re: USER32: GetScrollBarInfo
Vitaly Lipatov [EMAIL PROTECTED] writes: --- scroll.c 8 Dec 2004 18:06:15 - 1.3 +++ dlls/user/scroll.c4 Jan 2005 14:27:08 - @@ -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 [EMAIL PROTECTED]