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

C / C++ / MFC

 
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 
int GetDIBits(
HDC hdc, // handle to DC
HBITMAP hbmp, // handle to bitmap
UINT uStartScan, // first scan line to set
UINT cScanLines, // number of scan lines to copy
LPVOID lpvBits, // array for bitmap bits
LPBITMAPINFO lpbi, // bitmap data buffer
UINT uUsage // RGB or palette index
);

HBITMAP contains enough info, but the function requres HDC.
why it is HDC ralated?
if HDC is different, (Printer DC or Paint DC), does it retrieve different info?


-- modified at 14:46 Tuesday 6th June, 2006
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 
AnswerRe: Buttons Not Enabled On My DialogBar Pin
Michael Dunn6-Jun-06 8:41
sitebuilderMichael Dunn6-Jun-06 8:41 
QuestionEnexistent data Pin
hint_546-Jun-06 6:27
hint_546-Jun-06 6:27 
QuestionAdding a Form-View and Creating a Tab Control on the form view in a Single Document based VC++ program using MFC. Pin
Ashutosh Bagaria6-Jun-06 6:20
Ashutosh Bagaria6-Jun-06 6:20 
QuestionA question about sdi multiview Pin
Member 20063986-Jun-06 6:07
Member 20063986-Jun-06 6:07 
QuestionReading pdf file [modified] Pin
maharaja pandian6-Jun-06 4:46
maharaja pandian6-Jun-06 4:46 
AnswerRe: Reading pdf file [modified] Pin
Rage6-Jun-06 4:48
professionalRage6-Jun-06 4:48 
AnswerRe: Reading pdf file [modified] Pin
David Crow6-Jun-06 6:53
David Crow6-Jun-06 6:53 
AnswerRe: Reading pdf file [modified] Pin
Hamid_RT6-Jun-06 19:29
Hamid_RT6-Jun-06 19:29 
QuestionHow to display another control on my coustom control? Pin
old_dustman6-Jun-06 4:45
old_dustman6-Jun-06 4:45 
AnswerRe: How to display another control on my coustom control? Pin
Viorel.6-Jun-06 4:57
Viorel.6-Jun-06 4:57 

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.