Click here to Skip to main content
       

C / C++ / MFC

 
GeneralRe: deque problem. Does this code has any problem? Pingroupyu-jian14-Jan-13 17:02 
QuestionCDC Problem with coordinates PinmemberArgonia14-Jan-13 2:50 
AnswerRe: CDC Problem with coordinates PinmemberArgonia14-Jan-13 22:39 
GeneralRe: CDC Problem with coordinates PinmemberVaclav_Sal15-Jan-13 10:53 
GeneralRe: CDC Problem with coordinates PinmemberArgonia15-Jan-13 22:23 
QuestionDhcpRequestParams() PinmemberMan in the mirror13-Jan-13 20:46 
AnswerRe: DhcpRequestParams() PinmvpRichard MacCutchan13-Jan-13 23:11 
QuestionSOLVED From HANDLE to BITMAPINFO - another basic question for gurus [modified] PinmemberVaclav_Sal13-Jan-13 6:30 
<pre lang="text">Found this very useful piece of code to get bitmap info from handle and would like to know HOW it works.
I think if I get how the LPBITAMPINFO gets filled I probably will also understand why using global handle is necessary. Or maybe not.</pre>
 
               // a DIB is in the clipboard, draw it out
               GLOBALHANDLE      hGMem ;
               LPBITMAPINFO      lpBI ;
               void*               pDIBBits;
               OpenClipboard() ;
               hGMem = GetClipboardData(CF_DIB) ;
               ASSERT(hGMem);
               TRACE("\nfills LPBITMAPINFO");
               lpBI = (LPBITMAPINFO)GlobalLock(hGMem) ;
 
Appreciate any help.
CHeers Vaclav

-- modified 15-Jan-13 15:54pm.
AnswerRe: From HANDLE to BITMAPINFO - another basic question for gurus PinmvpRichard MacCutchan13-Jan-13 6:44 
GeneralRe: From HANDLE to BITMAPINFO - another basic question for gurus PinmemberVaclav_Sal13-Jan-13 7:08 
GeneralRe: From HANDLE to BITMAPINFO - another basic question for gurus PinmvpRichard MacCutchan13-Jan-13 7:32 
QuestionHow to get detail error info from E_FAIL? PinmemberFalconapollo11-Jan-13 22:23 
AnswerRe: How to get detail error info from E_FAIL? Pinmember«_Superman_»12-Jan-13 0:43 
GeneralRe: How to get detail error info from E_FAIL? PinmemberFalconapollo12-Jan-13 1:00 
GeneralRe: How to get detail error info from E_FAIL? PinmemberJochen Arndt13-Jan-13 22:05 
AnswerRe: How to get detail error info from E_FAIL? PinmemberArgonia14-Jan-13 3:01 
QuestionVideo Capture using DirectShow only works for first time.? Pinmembermbatra3110-Jan-13 21:25 
AnswerRe: Video Capture using DirectShow only works for first time.? Pingroup_AnsHUMAN_ 11-Jan-13 3:05 
AnswerRe: Video Capture using DirectShow only works for first time.? PinmemberVaclav_Sal14-Jan-13 17:10 
Questionhow to unsigned int64 to two unsigned int32 values Pinmembervishalgpt9-Jan-13 23:22 
AnswerRe: how to unsigned int64 to two unsigned int32 values PinmemberJochen Arndt10-Jan-13 0:06 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pinmembervishalgpt10-Jan-13 0:32 
GeneralRe: how to unsigned int64 to two unsigned int32 values PinmemberJochen Arndt10-Jan-13 0:58 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pinmembervishalgpt10-Jan-13 1:08 
AnswerRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pinmember«_Superman_»10-Jan-13 19:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 18 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid