Click here to Skip to main content
16,013,465 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: C++/MFC - Problem with GDI+ Bitmap::GetHBITMAP() Pin
PJ Arends25-Feb-07 12:20
professionalPJ Arends25-Feb-07 12:20 
GeneralRe: C++/MFC - Problem with GDI+ Bitmap::GetHBITMAP() Pin
Mark Salsbery26-Feb-07 7:30
Mark Salsbery26-Feb-07 7:30 
GeneralRe: C++/MFC - Problem with GDI+ Bitmap::GetHBITMAP() Pin
Mark Salsbery26-Feb-07 8:47
Mark Salsbery26-Feb-07 8:47 
GeneralRe: C++/MFC - Problem with GDI+ Bitmap::GetHBITMAP() Pin
PJ Arends26-Feb-07 9:31
professionalPJ Arends26-Feb-07 9:31 
GeneralRe: C++/MFC - Problem with GDI+ Bitmap::GetHBITMAP() Pin
Mark Salsbery26-Feb-07 9:52
Mark Salsbery26-Feb-07 9:52 
GeneralRe: C++/MFC - Problem with GDI+ Bitmap::GetHBITMAP() Pin
PJ Arends26-Feb-07 10:19
professionalPJ Arends26-Feb-07 10:19 
AnswerRe: C++/MFC - Problem with GDI+ Bitmap::GetHBITMAP() Pin
PJ Arends24-Feb-07 10:16
professionalPJ Arends24-Feb-07 10:16 
AnswerRe: C++/MFC - Problem with GDI+ Bitmap::GetHBITMAP() Pin
Waldermort24-Feb-07 14:02
Waldermort24-Feb-07 14:02 
My first guess would be the SetFromCOLORREF method. Try passing in a ARGB defined color, and also try using one of the other c'tors. I have a feeling that internally the color is screwed up before your call to get the bitmap.

Can you see the internal members of the color object in the debugger and verify that it is set up correctly?
GeneralRe: C++/MFC - Problem with GDI+ Bitmap::GetHBITMAP() Pin
PJ Arends24-Feb-07 15:08
professionalPJ Arends24-Feb-07 15:08 
GeneralRe: C++/MFC - Problem with GDI+ Bitmap::GetHBITMAP() Pin
Waldermort24-Feb-07 15:44
Waldermort24-Feb-07 15:44 
QuestionProblem with a DIB Pin
balu chettri23-Feb-07 4:56
balu chettri23-Feb-07 4:56 
AnswerRe: Problem with a DIB Pin
Jeremy Falcon23-Feb-07 8:44
professionalJeremy Falcon23-Feb-07 8:44 
GeneralRe: Problem with a DIB Pin
Mark Salsbery23-Feb-07 8:51
Mark Salsbery23-Feb-07 8:51 
GeneralRe: Problem with a DIB Pin
Jeremy Falcon23-Feb-07 8:54
professionalJeremy Falcon23-Feb-07 8:54 
GeneralRe: Problem with a DIB Pin
Mark Salsbery23-Feb-07 9:00
Mark Salsbery23-Feb-07 9:00 
GeneralRe: Problem with a DIB Pin
Jeremy Falcon23-Feb-07 9:04
professionalJeremy Falcon23-Feb-07 9:04 
QuestionHi this is related monitor updation in turbo c in DOS Pin
shriram_ch22-Feb-07 16:58
shriram_ch22-Feb-07 16:58 
AnswerRe: Hi this is related monitor updation in turbo c in DOS Pin
Jeremy Falcon23-Feb-07 8:58
professionalJeremy Falcon23-Feb-07 8:58 
AnswerRe: Hi this is related monitor updation in turbo c in DOS Pin
Shog923-Feb-07 9:42
sitebuilderShog923-Feb-07 9:42 
GeneralRe: Hi this is related monitor updation in turbo c in DOS Pin
Jeremy Falcon23-Feb-07 10:10
professionalJeremy Falcon23-Feb-07 10:10 
GeneralRe: Hi this is related monitor updation in turbo c in DOS Pin
Shog923-Feb-07 10:25
sitebuilderShog923-Feb-07 10:25 
GeneralRe: Hi this is related monitor updation in turbo c in DOS Pin
Jeremy Falcon23-Feb-07 10:38
professionalJeremy Falcon23-Feb-07 10:38 
Questionconverting raw image to bmp or jpeg in c# Pin
gskumar11121-Feb-07 18:59
gskumar11121-Feb-07 18:59 
AnswerRe: converting raw image to bmp or jpeg in c# Pin
Mark Salsbery22-Feb-07 6:58
Mark Salsbery22-Feb-07 6:58 
GeneralRe: converting raw image to bmp or jpeg in c# Pin
gskumar11122-Feb-07 18:46
gskumar11122-Feb-07 18:46 

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.