Click here to Skip to main content
15,887,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDrawing a bitmap Pin
Pugman8126-Jun-06 12:12
Pugman8126-Jun-06 12:12 
AnswerRe: Drawing a bitmap Pin
Chris Losinger6-Jun-06 15:46
professionalChris Losinger6-Jun-06 15:46 
GeneralRe: Drawing a bitmap Pin
Pugman8126-Jun-06 23:07
Pugman8126-Jun-06 23:07 
GeneralRe: Drawing a bitmap [modified] Pin
Chris Losinger7-Jun-06 1:13
professionalChris Losinger7-Jun-06 1:13 
Questionwhich function gets color setting of PC? Pin
includeh106-Jun-06 10:27
includeh106-Jun-06 10:27 
AnswerRe: which function gets color setting of PC? Pin
Ryan Binns6-Jun-06 18:25
Ryan Binns6-Jun-06 18:25 
QuestionSocket Connection Pin
SPowers6-Jun-06 8:43
SPowers6-Jun-06 8:43 
QuestionCreateDIBSection Pin
includeh106-Jun-06 8:36
includeh106-Jun-06 8:36 
signiture of the function is:

CreateDIBSection(HDC hdc,BITMAPINFO*pbf,..,void**ppBits..);
we must provide info for pbm to retrieve ppBits.

my question is:
how to get original BITMAPINFO and ppBits of the HDC?

are there other assistant functions to do that in general?
the HDC may not be memory DC, it may be PAINT DC whose HBITMAP size is 1x1.

the question is in general - not limited to memory DC.







AnswerRe: CreateDIBSection Pin
valikac6-Jun-06 9:20
valikac6-Jun-06 9:20 
GeneralRe: CreateDIBSection Pin
includeh106-Jun-06 9:30
includeh106-Jun-06 9:30 
AnswerRe: CreateDIBSection Pin
Chris Losinger6-Jun-06 9:53
professionalChris Losinger6-Jun-06 9:53 
GeneralRe: CreateDIBSection Pin
includeh106-Jun-06 10:15
includeh106-Jun-06 10:15 
GeneralRe: CreateDIBSection Pin
Chris Losinger6-Jun-06 11:25
professionalChris Losinger6-Jun-06 11:25 
GeneralRe: CreateDIBSection Pin
includeh106-Jun-06 11:55
includeh106-Jun-06 11:55 
GeneralRe: CreateDIBSection Pin
Chris Losinger6-Jun-06 15:30
professionalChris Losinger6-Jun-06 15:30 
Questionquestion about HBITMAP Pin
includeh106-Jun-06 8:24
includeh106-Jun-06 8:24 
AnswerRe: question about HBITMAP Pin
Chris Losinger6-Jun-06 8:30
professionalChris Losinger6-Jun-06 8:30 
GeneralRe: question about HBITMAP Pin
includeh106-Jun-06 8:44
includeh106-Jun-06 8:44 
GeneralRe: question about HBITMAP Pin
Chris Losinger6-Jun-06 9:46
professionalChris Losinger6-Jun-06 9:46 
GeneralRe: question about HBITMAP Pin
includeh106-Jun-06 10:22
includeh106-Jun-06 10:22 
GeneralRe: question about HBITMAP Pin
Chris Losinger6-Jun-06 11:28
professionalChris Losinger6-Jun-06 11:28 
GeneralRe: question about HBITMAP Pin
includeh106-Jun-06 11:56
includeh106-Jun-06 11:56 
GeneralRe: question about HBITMAP Pin
Chris Losinger6-Jun-06 15:39
professionalChris Losinger6-Jun-06 15:39 
QuestionButtons Not Enabled On My DialogBar Pin
masnu6-Jun-06 6:35
masnu6-Jun-06 6:35 
AnswerRe: Buttons Not Enabled On My DialogBar Pin
FarPointer6-Jun-06 7:15
FarPointer6-Jun-06 7:15 

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.