Click here to Skip to main content
15,911,762 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Which message window receives after all when it open? Pin
gUrM33T1-Apr-04 16:44
gUrM33T1-Apr-04 16:44 
GeneralDatabases and threads Pin
islheg1-Apr-04 3:09
islheg1-Apr-04 3:09 
GeneralRe: Databases and threads Pin
Prakash Nadar1-Apr-04 4:45
Prakash Nadar1-Apr-04 4:45 
GeneralEntering new lines in edit box Pin
satcat1-Apr-04 3:02
satcat1-Apr-04 3:02 
GeneralRe: Entering new lines in edit box Pin
David Crow1-Apr-04 3:24
David Crow1-Apr-04 3:24 
GeneralRe: Entering new lines in edit box Pin
basementman1-Apr-04 5:02
basementman1-Apr-04 5:02 
GeneralMemory Device context+Createcompatible Bitmap related query Pin
JHAKAS1-Apr-04 1:59
JHAKAS1-Apr-04 1:59 
GeneralRe: Memory Device context+Createcompatible Bitmap related query Pin
John R. Shaw1-Apr-04 9:36
John R. Shaw1-Apr-04 9:36 
1.0 Yes! Because MemDC contains your bitmap and therefore is draw on your bitmap. Before calling CreateCompatibleBitmap() make sure that the bitmap does not already exist or you will have problems. DO NOT for get to restore the origanal bitmap to the MemDC after drawing to it.

2.0 & 3.0 The only reason for making MemDC global is so you will not have to call CreateCompatibleDC() more than once. You will still need to clean it up after evey usage though. That is call SelectObject(pOldBitmap) after drawing to bitmap or using MemDC to blit the image to the client area.

Lookup CDC::CreateCompatibleDC() in the MSDN library (there is sample code there)

INTP
QuestionHow to detect that background under child window is changed? Pin
vgrigor1-Apr-04 0:48
vgrigor1-Apr-04 0:48 
QuestionHow to obtain interface ip from destination ip ? Pin
VF1-Apr-04 0:04
VF1-Apr-04 0:04 
AnswerRe: How to obtain interface ip from destination ip ? Pin
Antony M Kancidrowski1-Apr-04 1:17
Antony M Kancidrowski1-Apr-04 1:17 
AnswerRe: How to obtain interface ip from destination ip ? Pin
Mike Dimmick1-Apr-04 1:49
Mike Dimmick1-Apr-04 1:49 
Generalset cursor of SDI Pin
MeWithNoName1-Apr-04 0:04
MeWithNoName1-Apr-04 0:04 
GeneralRe: set cursor of SDI Pin
Milton Karimbekallil1-Apr-04 0:39
Milton Karimbekallil1-Apr-04 0:39 
Generalvector math on different pc processors (amd, intel) Pin
Mediate31-Mar-04 23:33
Mediate31-Mar-04 23:33 
GeneralRe: vector math on different pc processors (amd, intel) Pin
Antony M Kancidrowski1-Apr-04 1:31
Antony M Kancidrowski1-Apr-04 1:31 
GeneralRe: vector math on different pc processors (amd, intel) Pin
Alexander M.,1-Apr-04 3:37
Alexander M.,1-Apr-04 3:37 
GeneralRe: vector math on different pc processors (amd, intel) Pin
Mediate1-Apr-04 23:18
Mediate1-Apr-04 23:18 
Generalsubst programatically Pin
bruno leclerc31-Mar-04 22:30
bruno leclerc31-Mar-04 22:30 
GeneralRe: subst programatically Pin
David Crow1-Apr-04 3:27
David Crow1-Apr-04 3:27 
GeneralRe: subst programatically Pin
bruno leclerc1-Apr-04 21:08
bruno leclerc1-Apr-04 21:08 
Generalinternet explorer address bar Pin
Anonymous31-Mar-04 20:47
Anonymous31-Mar-04 20:47 
GeneralRe: internet explorer address bar Pin
22491731-Mar-04 23:12
22491731-Mar-04 23:12 
GeneralRe: internet explorer address bar Pin
Anonymous1-Apr-04 20:27
Anonymous1-Apr-04 20:27 
Generalcontinious monitoring of process Pin
Anonymous31-Mar-04 20:44
Anonymous31-Mar-04 20:44 

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.