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

C / C++ / MFC

 
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 
just use HDC hDC = ::GetDC(NULL);

includeh10 wrote:
if HDC is different, (Printer DC or Paint DC), does it retrieve different info?


not all DCs have the ability to do GetDIBits (see GetDeviceCaps). screen DCs generally do, but printer DCs sometimes can't handle all operations.

includeh10 wrote:
HBITMAP contains enough info


but it needs to be formatted in a way that you can use . HBITMAPs are opaque objects - we don't know anything about what they look like on the other side of the HANDLE.


Cleek | Image Toolkits | Thumbnail maker

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 
Questionwindow and some other class in same window Pin
Manjunath S6-Jun-06 4:08
Manjunath S6-Jun-06 4:08 

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.