>George,
>
>The article was for converting DIB to GIF, so it may or may not be of use. It's in the Dec 98 issue of C/C++ Users Journal. They have a web site at
www.cuj.com>
>You might also try searching the Dr. Dobbs site.
>
Well, I finally got it for 256 and 24 bit color (sort of). 256 is fine. 24 bit is another story. Part of it I think is the color mask I mentioned earlier in this thread. I think that the bits are either XORed or ORed with the mask. I saw it somewhere in the SDK.
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.
I'm going to first check out the color thing. If you (or Christof whom I'm copying on this) know anything about the shifting problem, please let me know. I'll check out that URL and Dr. Dobbs after I see to the color thing.
tia,
George
Ubi caritas et amor, deus ibi est