Click here to Skip to main content
15,908,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Loading bmp in button Pin
Hamid_RT8-Jul-07 21:27
Hamid_RT8-Jul-07 21:27 
GeneralRe: Loading bmp in button Pin
saisp8-Jul-07 23:45
saisp8-Jul-07 23:45 
QuestionRe: Loading bmp in button Pin
David Crow9-Jul-07 2:49
David Crow9-Jul-07 2:49 
QuestionHelp on saving bitmap to .bmp file [modified] Pin
Llasus8-Jul-07 19:08
Llasus8-Jul-07 19:08 
AnswerRe: Help on saving bitmap to .bmp file Pin
Hamid_RT8-Jul-07 19:27
Hamid_RT8-Jul-07 19:27 
GeneralRe: Help on saving bitmap to .bmp file Pin
Llasus8-Jul-07 19:30
Llasus8-Jul-07 19:30 
GeneralRe: Help on saving bitmap to .bmp file Pin
Hamid_RT8-Jul-07 19:37
Hamid_RT8-Jul-07 19:37 
GeneralRe: Help on saving bitmap to .bmp file Pin
Llasus8-Jul-07 19:48
Llasus8-Jul-07 19:48 
I just use WriteFile() and write the BITMAPFILEHEADER and BITMAPINFOHEADER and then the char * containing the data. I am thinking maybe I got something wrong off my bitmap header, but it works on other values like 3200x3200 and 1600x1600. But when it comes to 1067x1067 it does not. I checked the char * to see whether I got the size of data wrong but it is right. Checking the bitmap file that I produced(1067x1067) it seems right. I just dont get it why it doesnt display. I pasted below the header of the bitmap file for reference. Thank you for the help and time!

42 4D E1 1D 34 00 00 00 00 00 36 00 00 00 28 00 00 00 2B 04 00 00 2B 04 00 00 01 00 18 00 00 00 00 00 AB 1D 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
GeneralRe: Help on saving bitmap to .bmp file Pin
Hamid_RT8-Jul-07 20:44
Hamid_RT8-Jul-07 20:44 
GeneralRe: Help on saving bitmap to .bmp file Pin
Llasus8-Jul-07 21:11
Llasus8-Jul-07 21:11 
AnswerRe: Help on saving bitmap to .bmp file Pin
Paresh Chitte8-Jul-07 19:39
Paresh Chitte8-Jul-07 19:39 
GeneralRe: Help on saving bitmap to .bmp file Pin
Llasus8-Jul-07 19:54
Llasus8-Jul-07 19:54 
GeneralRe: Help on saving bitmap to .bmp file Pin
Paresh Chitte8-Jul-07 20:18
Paresh Chitte8-Jul-07 20:18 
GeneralRe: Help on saving bitmap to .bmp file Pin
Llasus8-Jul-07 20:21
Llasus8-Jul-07 20:21 
GeneralRe: Help on saving bitmap to .bmp file Pin
Naveen8-Jul-07 20:34
Naveen8-Jul-07 20:34 
GeneralRe: Help on saving bitmap to .bmp file Pin
Llasus8-Jul-07 20:40
Llasus8-Jul-07 20:40 
QuestionHow do I access the pixels on the screen to read them? Pin
sbscb8-Jul-07 18:07
sbscb8-Jul-07 18:07 
AnswerRe: How do I access the pixels on the screen to read them? Pin
Hamid_RT8-Jul-07 19:15
Hamid_RT8-Jul-07 19:15 
AnswerRe: How do I access the pixels on the screen to read them? Pin
Llasus8-Jul-07 19:22
Llasus8-Jul-07 19:22 
GeneralRe: How do I access the pixels on the screen to read them? Pin
Perspx8-Jul-07 19:33
Perspx8-Jul-07 19:33 
GeneralRe: How do I access the pixels on the screen to read them? Pin
Llasus8-Jul-07 19:51
Llasus8-Jul-07 19:51 
GeneralRe: How do I access the pixels on the screen to read them? Pin
Perspx9-Jul-07 5:42
Perspx9-Jul-07 5:42 
Questionneed help Pin
gentleguy8-Jul-07 17:23
gentleguy8-Jul-07 17:23 
QuestionRe: need help Pin
Hamid_RT8-Jul-07 19:24
Hamid_RT8-Jul-07 19:24 
AnswerRe: need help Pin
Llasus8-Jul-07 20:02
Llasus8-Jul-07 20:02 

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.