Hi!

I'm trying to get the code working from MSDN ( http://msdn.microsoft.com/library/de...scrollbars.asp ).

It should implement bitmap scrolling but it has some bugs(?) in it. Scrolling range is counted wrong and code doesn't work right if bitmap is scrolled and then window is made larger than the bitmap. I tried to understand what is wrong but couldn't figure it out.

Does anyone know where to get a working code example of bitmap scrolling with scroll bars or help with the example? Thanks.

I'm using C and Win32 API, not MFC.

*s