Hi
I have a VisualC++ program to display image data to the screen. The data is a 24-bit, RGB bitmap that is properly shown using BitBlt().

I have a CopyWindow() function that puts the BITMAPINFO structure and RGB image data on the clipboard as a DIB with the SetClipboardData(CF_DIB,...) call.

My problem happens when I try to paste the image into MS Powerpoint (Office 2010). I've tried Paste and all the options in Paste Special but the image will not appear.

If I open Paint and do a Paste, the image appears properly in that application. Then I can do a Copy from there and am able to Paste that into Powerpoint.

How is Paint able to accept the DIB?
And what is different about how Paste puts that bitmap onto the Clipboard so that Powerpoint can see it?

Thanks.

--Ed