Click here to Skip to main content
15,911,848 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About ownerdraw Pin
Hamid_RT22-Jun-07 4:43
Hamid_RT22-Jun-07 4:43 
GeneralRe: About ownerdraw Pin
whiteclouds22-Jun-07 16:51
whiteclouds22-Jun-07 16:51 
GeneralRe: About ownerdraw Pin
Hamid_RT22-Jun-07 22:32
Hamid_RT22-Jun-07 22:32 
GeneralRe: About ownerdraw Pin
whiteclouds25-Jun-07 15:39
whiteclouds25-Jun-07 15:39 
GeneralRe: About ownerdraw Pin
Hamid_RT25-Jun-07 19:57
Hamid_RT25-Jun-07 19:57 
GeneralRe: About ownerdraw Pin
whiteclouds22-Jun-07 2:47
whiteclouds22-Jun-07 2:47 
GeneralRe: About ownerdraw Pin
Hamid_RT22-Jun-07 4:45
Hamid_RT22-Jun-07 4:45 
JokeRe: About ownerdraw Pin
whiteclouds22-Jun-07 16:49
whiteclouds22-Jun-07 16:49 
QuestionString to integer array algorithm Pin
Llasus20-Jun-07 16:09
Llasus20-Jun-07 16:09 
AnswerRe: String to integer array algorithm Pin
_anil_20-Jun-07 18:51
_anil_20-Jun-07 18:51 
GeneralRe: String to integer array algorithm Pin
Llasus20-Jun-07 19:09
Llasus20-Jun-07 19:09 
AnswerRe: String to integer array algorithm Pin
Stephen Hewitt20-Jun-07 20:42
Stephen Hewitt20-Jun-07 20:42 
GeneralRe: String to integer array algorithm Pin
_anil_20-Jun-07 20:46
_anil_20-Jun-07 20:46 
GeneralRe: String to integer array algorithm Pin
Llasus21-Jun-07 13:39
Llasus21-Jun-07 13:39 
GeneralMFC Bitmap Help [modified] Pin
dipen.rana20-Jun-07 11:33
dipen.rana20-Jun-07 11:33 
GeneralRe: MFC Bitmap Help Pin
Christian Graus20-Jun-07 11:46
protectorChristian Graus20-Jun-07 11:46 
GeneralRe: MFC Bitmap Help Pin
Mark Salsbery20-Jun-07 12:04
Mark Salsbery20-Jun-07 12:04 
GeneralRe: MFC Bitmap Help Pin
Hamid_RT20-Jun-07 18:42
Hamid_RT20-Jun-07 18:42 
GeneralRe: MFC Bitmap Help Pin
Mark Salsbery21-Jun-07 5:19
Mark Salsbery21-Jun-07 5:19 
GeneralRe: MFC Bitmap Help Pin
Hamid_RT21-Jun-07 19:43
Hamid_RT21-Jun-07 19:43 
GeneralRe: MFC Bitmap Help Pin
dipen.rana25-Jun-07 5:43
dipen.rana25-Jun-07 5:43 
GeneralRe: MFC Bitmap Help Pin
Mark Salsbery25-Jun-07 7:40
Mark Salsbery25-Jun-07 7:40 
If you're using C then you'll need to write the code to save the file yourself, or use a 3rd-
party library.

What format do you want to save the file to?

If BMP is ok, then the format of a BMP file is:

BITMAPFILEHEADER
BITMAPINFO (or BITMAPCOREINFO)
ColorTable
Pixel bits

For an example of writing a BMP file, see Saving a Drawing to a Bitmap File[^]

For other file formats you can look up the format and you'd need to implement any appropriate
compression. It's not a trivial project Smile | :)

Mark


"Go that way, really fast. If something gets in your way, turn."

GeneralRe: MFC Bitmap Help Pin
dipen.rana25-Jun-07 8:45
dipen.rana25-Jun-07 8:45 
GeneralRe: MFC Bitmap Help Pin
Mark Salsbery25-Jun-07 13:49
Mark Salsbery25-Jun-07 13:49 
GeneralRe: MFC Bitmap Help Pin
dipen.rana2-Jul-07 10:00
dipen.rana2-Jul-07 10:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.