[Gdal-dev] show raster with gdi

Chapman, Martin MChapman at sanz.com
Sat Dec 10 12:57:44 EST 2005


See my simple example at
http://lists.maptools.org/pipermail/gdal-dev/2004-March/002149.html

You will need the attached helper class called cdibsection that is with
the posting.

Martin

-----Original Message-----
From: gdal-dev-bounces at lists.maptools.org
[mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of
alucas at srtec.com
Sent: Saturday, December 10, 2005 8:59 AM
To: Gdal-dev at lists.maptools.org
Subject: [Gdal-dev] show raster with gdi

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.


_______________________________________________
Gdal-dev mailing list
Gdal-dev at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/gdal-dev




More information about the Gdal-dev mailing list