BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sve in a File BMP

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
Salvador Huertas
Guest





PostPosted: Wed Jan 07, 2004 11:07 am    Post subject: Sve in a File BMP Reply with quote



Hi Friends,
I have a Bitmap and his handle HBITMAP, my question is how can I save this
imagen into a file *.BMP using only the Windows API functions, without using
the VCL library.

Thanks.
Salvador Huertas.


Back to top
Michel Leunen
Guest





PostPosted: Wed Jan 07, 2004 11:35 am    Post subject: Re: Sve in a File BMP Reply with quote



Salvador Huertas wrote:

Quote:
I have a Bitmap and his handle HBITMAP, my question is how can I save this
imagen into a file *.BMP using only the Windows API functions, without using
the VCL library.

Look at the BITMAPINFOHEADER, BITMAPFILEHEADER and RGBQUAD structures.
There is a sample in the win32.hlp file that does just what you want.

Michel
--
----------------------------------------
Michel Leunen
mailto:michel (AT) leunen (DOT) com
C++Builder, C++BuilderX, BCC5.5.1 Web site:
http://www.leunen.com/
----------------------------------------


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.