Click here to Skip to main content
16,006,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to resize client are? Pin
Hadi Dayvary29-Dec-06 18:45
professionalHadi Dayvary29-Dec-06 18:45 
GeneralSetWindowPos(), that OK! Thank you Pin
hanlei000000000930-Dec-06 14:15
hanlei000000000930-Dec-06 14:15 
QuestionIs any body help in DRM(Digital Rights Mgt) ,pDRMWriter->GenerateKeyID(w_KeyID,&d_KeyID); return S_FAIL Pin
amitmistry_petlad 29-Dec-06 17:56
amitmistry_petlad 29-Dec-06 17:56 
QuestionGetDIBits() works incorrectly with printer's DC Pin
Yuriy200329-Dec-06 15:22
Yuriy200329-Dec-06 15:22 
AnswerRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery30-Dec-06 8:06
Mark Salsbery30-Dec-06 8:06 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy200330-Dec-06 11:44
Yuriy200330-Dec-06 11:44 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery30-Dec-06 11:59
Mark Salsbery30-Dec-06 11:59 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy200330-Dec-06 12:43
Yuriy200330-Dec-06 12:43 
Mark, I am not sure about what format you are talking. The image that I have
am trying to "capture" is in a device-specific format (in this case, printer's). I know that printer's DC is different from screen. This is why I am using DC-compatible bitmap and all this. Problem is that GetDIBits() works perfect with screen-compatible DC, but returns all pixels as black with printer-compatible DC. So far, I don't see where my mistake is. It could be that it's "normal" for printer DC, but then GetDIBits() (or any other function) does not return any error code, and GetDeviceCaps() says this capability is supported. Could it be that MSDN is not telling the truth?
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20031-Jan-07 10:06
Yuriy20031-Jan-07 10:06 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery1-Jan-07 15:34
Mark Salsbery1-Jan-07 15:34 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20032-Jan-07 11:08
Yuriy20032-Jan-07 11:08 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery2-Jan-07 11:28
Mark Salsbery2-Jan-07 11:28 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20032-Jan-07 12:39
Yuriy20032-Jan-07 12:39 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery2-Jan-07 12:51
Mark Salsbery2-Jan-07 12:51 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20032-Jan-07 13:03
Yuriy20032-Jan-07 13:03 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery2-Jan-07 13:46
Mark Salsbery2-Jan-07 13:46 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20032-Jan-07 15:25
Yuriy20032-Jan-07 15:25 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery2-Jan-07 15:51
Mark Salsbery2-Jan-07 15:51 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20032-Jan-07 18:20
Yuriy20032-Jan-07 18:20 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery3-Jan-07 4:41
Mark Salsbery3-Jan-07 4:41 
GeneralRe: GetDIBits() works incorrectly with printer's DC [modified] Pin
Mark Salsbery3-Jan-07 5:46
Mark Salsbery3-Jan-07 5:46 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20033-Jan-07 5:59
Yuriy20033-Jan-07 5:59 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20033-Jan-07 6:30
Yuriy20033-Jan-07 6:30 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery3-Jan-07 6:44
Mark Salsbery3-Jan-07 6:44 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Mark Salsbery3-Jan-07 6:06
Mark Salsbery3-Jan-07 6:06 

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.