Click here to Skip to main content
15,925,895 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery3-Jan-07 8:00
Mark Salsbery3-Jan-07 8:00 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20033-Jan-07 8:44
Yuriy20033-Jan-07 8:44 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery3-Jan-07 9:26
Mark Salsbery3-Jan-07 9:26 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20033-Jan-07 10:08
Yuriy20033-Jan-07 10:08 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery3-Jan-07 10:19
Mark Salsbery3-Jan-07 10:19 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20033-Jan-07 10:50
Yuriy20033-Jan-07 10:50 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20033-Jan-07 11:56
Yuriy20033-Jan-07 11:56 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery3-Jan-07 12:59
Mark Salsbery3-Jan-07 12:59 
Cool Smile | :)

I forgot to mention - are you using StretchBlt or StretchDiBits anywhere still? You may want to
set the stretch mode properly if necessary and restore it after the stretch operation. I noticed
that in the code I've been testing from (although it made no difference in the problem).

To get a blend of more than one alpha-blend image you may need to do it all in a memory DC then
do one blt to the printer DC - I think GDI+ can handle that. I've been unable to get a blend on
a printer DC. The printer DCs behave write-only so any operations requiring reading colors
already there fail... Confused | :confused:
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20035-Jan-07 11:10
Yuriy20035-Jan-07 11:10 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery5-Jan-07 11:15
Mark Salsbery5-Jan-07 11:15 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20035-Jan-07 11:22
Yuriy20035-Jan-07 11:22 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery5-Jan-07 11:27
Mark Salsbery5-Jan-07 11:27 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20035-Jan-07 11:33
Yuriy20035-Jan-07 11:33 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery5-Jan-07 11:46
Mark Salsbery5-Jan-07 11:46 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20035-Jan-07 13:52
Yuriy20035-Jan-07 13:52 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery30-Dec-06 12:12
Mark Salsbery30-Dec-06 12:12 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy200330-Dec-06 12:44
Yuriy200330-Dec-06 12:44 
AnswerRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery30-Dec-06 12:29
Mark Salsbery30-Dec-06 12:29 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy200330-Dec-06 12:46
Yuriy200330-Dec-06 12:46 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery30-Dec-06 12:55
Mark Salsbery30-Dec-06 12:55 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery5-Jan-07 14:18
Mark Salsbery5-Jan-07 14:18 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20036-Jan-07 8:36
Yuriy20036-Jan-07 8:36 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery6-Jan-07 11:03
Mark Salsbery6-Jan-07 11:03 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20036-Jan-07 11:56
Yuriy20036-Jan-07 11:56 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery6-Jan-07 12:05
Mark Salsbery6-Jan-07 12:05 

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.