[Gdal-dev] show raster with gdi

alucas at srtec.com alucas at srtec.com
Sat Dec 10 10:59:25 EST 2005


Hello,

I'm writing a simple application that show an image raster. I'm writting
this for Windowsation with vc++ 6.0 with MFC, and in my application I've
the raster into a buffer (GByte array i.e). So, now I want to show the
raster in my MFC Appication, for this, I was readed that the best choice
is to use DIB Sections, but, I don't have any experience with GDI...
Anybody can show to me any sample code (vc++ with mfc) for painting the
content of buffer into a dib section?

Thanks.





More information about the Gdal-dev mailing list