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

C / C++ / MFC

 
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 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20031-Jan-07 10:06
Yuriy20031-Jan-07 10:06 
Correct. Does this mean that GetDIBits() returns me data in some different format? I am calling

ret = GetDIBits(hCaptureDC,hCaptureBitmap,0,bmpInfo.bmiHeader.biHeight,pBuf, &bmpInfo, DIB_RGB_COLORS);

where

bmpInfo.bmiHeader.biBitCount = 32 and
bmpInfo.bmiHeader.biCompression = BI_RGB.

It returns me 187 (number of lines (height) in the image), which is a successful return code. When I look at the pBuf array though, all pixels are set to black.
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 
GeneralRe: GetDIBits() works incorrectly with printer's DC Pin
Yuriy20033-Jan-07 7:49
Yuriy20033-Jan-07 7:49 

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.