Hi George,
>The odd thing is that the left 20 pixels (frame plus scroll bar width) are moved to the right side of the image when trying to do 24 bit color. Really odd. I think it's something either with CreateDIBSection(), BitBlt() or GetDIBits(), but what I have no idea.
Strange, I haven't seen this before. A similar behaviour occurs if you try to display a file where the width is not a multiple of 8. Every line is inserted by a number of pixels.
Christof
--
Christof