Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncontrol Pin
yogendra kaushik9-Jun-06 4:22
yogendra kaushik9-Jun-06 4:22 
AnswerRe: control Pin
David Crow9-Jun-06 4:31
David Crow9-Jun-06 4:31 
Questionproblem in inserting image into the database Pin
maharaja pandian9-Jun-06 4:14
maharaja pandian9-Jun-06 4:14 
AnswerRe: problem in inserting image into the database Pin
David Crow9-Jun-06 4:36
David Crow9-Jun-06 4:36 
GeneralRe: problem in inserting image into the database Pin
maharaja pandian9-Jun-06 20:26
maharaja pandian9-Jun-06 20:26 
AnswerRe: problem in inserting image into the database Pin
Viorel.9-Jun-06 4:40
Viorel.9-Jun-06 4:40 
GeneralRe: problem in inserting image into the database Pin
maharaja pandian9-Jun-06 20:25
maharaja pandian9-Jun-06 20:25 
QuestionProblem Writing bitmap info File Pin
Reji_Kumar9-Jun-06 4:08
Reji_Kumar9-Jun-06 4:08 
--------------------------------------------------------------------------------

I have an HBITMAP. From that I construct a CBitMap obj and Using GetBitMapBits, get the Byte info into a byte array. I also fill up the BITMAPFILEHEADER and BITMAPINFOHEADER. Then i first write the BITMAPFILEHEADER, then the BITMAPINFOHEADER and then the BYte Array of the bitmap into a .bmp file. My bmp comes up but its upside down. I.e the generated .bmp is upside down of the original image. Where am i mistaken?

Reji Kumar,
Software Engineer,
India.
AnswerRe: Problem Writing bitmap info File Pin
Viorel.9-Jun-06 4:31
Viorel.9-Jun-06 4:31 
AnswerRe: Problem Writing bitmap info File Pin
Chris Losinger9-Jun-06 5:27
professionalChris Losinger9-Jun-06 5:27 
QuestionAdding static control to childvew Pin
rajeev829-Jun-06 3:35
rajeev829-Jun-06 3:35 
AnswerRe: Adding static control to childvew Pin
Viorel.9-Jun-06 3:53
Viorel.9-Jun-06 3:53 
GeneralRe: Adding static control to childvew [modified] Pin
rajeev829-Jun-06 3:55
rajeev829-Jun-06 3:55 
QuestionRe: Adding static control to childvew [modified] Pin
Viorel.9-Jun-06 4:05
Viorel.9-Jun-06 4:05 
GeneralRe: Adding static control to childvew [modified] Pin
Cedric Moonen9-Jun-06 4:06
Cedric Moonen9-Jun-06 4:06 
GeneralRe: Adding static control to childvew Pin
rajeev829-Jun-06 18:19
rajeev829-Jun-06 18:19 
GeneralRe: Adding static control to childvew Pin
Cedric Moonen9-Jun-06 22:17
Cedric Moonen9-Jun-06 22:17 
QuestionOpen Dialog "Filter for file names" Pin
Nitefall20609-Jun-06 3:21
Nitefall20609-Jun-06 3:21 
AnswerRe: Open Dialog "Filter for file names" Pin
David Crow9-Jun-06 3:46
David Crow9-Jun-06 3:46 
GeneralRe: Open Dialog "Filter for file names" Pin
Nitefall20609-Jun-06 4:41
Nitefall20609-Jun-06 4:41 
QuestionRe: Open Dialog "Filter for file names" Pin
David Crow9-Jun-06 5:27
David Crow9-Jun-06 5:27 
AnswerRe: Open Dialog "Filter for file names" Pin
Nitefall206012-Jun-06 4:53
Nitefall206012-Jun-06 4:53 
GeneralRe: Open Dialog "Filter for file names" Pin
David Crow12-Jun-06 5:00
David Crow12-Jun-06 5:00 
GeneralRe: Open Dialog "Filter for file names" Pin
Nitefall206012-Jun-06 5:10
Nitefall206012-Jun-06 5:10 
GeneralRe: Open Dialog "Filter for file names" Pin
David Crow12-Jun-06 5:13
David Crow12-Jun-06 5:13 

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.