 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Salvador Huertas Guest
|
Posted: Wed Jan 07, 2004 11:07 am Post subject: Sve in a File BMP |
|
|
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
|
Posted: Wed Jan 07, 2004 11:35 am Post subject: Re: Sve in a File BMP |
|
|
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 |
|
 |
|
|
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
|
|