Scrollbars, an application bug or a wine regression ? (#2314)

Dmitry Timoshkov dmitry at codeweavers.com
Sat Jul 24 09:34:15 CDT 2004


"Nicolai Kuntze" <g-8 at gmx.net> wrote:

> > Today I got some modified code snipplet:
> >
> >  case WM_PAINT:
> >  PAINTSTRUCT MalInfo;
> >  BeginPaint( hwnd, &MalInfo);
> >  EndPaint( hwnd, &MalInfo);
> >  HDC hdc= GetDC( hwnd);
> >  BitBlt( hdc, 0, 20, doublebuffersize.right-doublebuffersize.left,
> >  doublebuffersize.bottom-doublebuffersize.top, doublebufferHdc, 0, 0,
> >  SRCCOPY);
> >  ReleaseDC( (HWND)ViewGetHWND(), hdc);
> >
> >
> > I hope this helps.

No, that doesn't help.

> I have done some debugging. I use the native comctrl.dll. So the error 
> must be in the gui part of wine. The calls of the software are all OK, 
> but the scrollbars were not shown. Is it possible that wine does not 
> recognize that the bitmap is greater than the window? Where can I look 
> for it?

Are you sure that your app really regressed and had not shown the same
behaviour before my scrollbar fixes?

-- 
Dmitry.



More information about the wine-devel mailing list