Ok thanks. I think that for smooth scrolling I need an extra time-measurement.

Update = StretchDIBits.

Strange thing is that on another computer - same Windows 7 PC and just a tiny fraction slower than my own - the framerate is about 64. Which is at least a factor 400 slower! What can be the causes of this?