Click here to Skip to main content
15,867,568 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC. How to display a bitmap or a .png file Pin
BigSteve-O20-Nov-22 7:21
BigSteve-O20-Nov-22 7:21 
GeneralRe: MFC. How to display a bitmap or a .png file Pin
Victor Nijegorodov20-Nov-22 8:04
Victor Nijegorodov20-Nov-22 8:04 
GeneralRe: MFC. How to display a bitmap or a .png file Pin
CPallini20-Nov-22 22:10
mveCPallini20-Nov-22 22:10 
GeneralRe: MFC. How to display a bitmap or a .png file Pin
BigSteve-O21-Nov-22 4:56
BigSteve-O21-Nov-22 4:56 
GeneralRe: MFC. How to display a bitmap or a .png file Pin
CPallini21-Nov-22 4:59
mveCPallini21-Nov-22 4:59 
AnswerRe: MFC. How to display a bitmap or a .png file Pin
Graham Breach14-Nov-22 10:57
Graham Breach14-Nov-22 10:57 
GeneralRe: MFC. How to display a bitmap or a .png file Pin
BigSteve-O14-Nov-22 11:53
BigSteve-O14-Nov-22 11:53 
AnswerRe: MFC. How to display a bitmap or a .png file Pin
Richard MacCutchan14-Nov-22 21:44
mveRichard MacCutchan14-Nov-22 21:44 
C++
// Restore the old bitmap
pDC->SelectObject(BmpPrevious);
// Do not call CView::OnPaint() for painting messages

I do not think you should be restoring the old bitmap into pDC, since it came out of MemDCLady.
AnswerRe: MFC. How to display a bitmap or a .png file Pin
charlieg15-Nov-22 0:23
charlieg15-Nov-22 0:23 
GeneralRe: MFC. How to display a bitmap or a .png file Pin
BigSteve-O15-Nov-22 13:15
BigSteve-O15-Nov-22 13:15 
GeneralRe: MFC. How to display a bitmap or a .png file Pin
charlieg17-Nov-22 11:44
charlieg17-Nov-22 11:44 
GeneralRe: MFC. How to display a bitmap or a .png file Pin
charlieg18-Nov-22 8:44
charlieg18-Nov-22 8:44 
GeneralRe: MFC. How to display a bitmap or a .png file Pin
charlieg18-Nov-22 9:38
charlieg18-Nov-22 9:38 
GeneralRe: MFC. How to display a bitmap or a .png file Pin
Richard MacCutchan15-Nov-22 21:25
mveRichard MacCutchan15-Nov-22 21:25 
GeneralRe: MFC. How to display a bitmap or a .png file Pin
charlieg16-Nov-22 5:17
charlieg16-Nov-22 5:17 
AnswerRe: MFC. How to display a bitmap or a .png file Pin
charlieg22-Nov-22 16:15
charlieg22-Nov-22 16:15 
QuestionDisplay balance Pin
Muhd Hakim9-Nov-22 5:40
Muhd Hakim9-Nov-22 5:40 
AnswerRe: Display balance Pin
jeron19-Nov-22 6:06
jeron19-Nov-22 6:06 
AnswerRe: Display balance Pin
Richard MacCutchan9-Nov-22 6:22
mveRichard MacCutchan9-Nov-22 6:22 
AnswerRe: Display balance Pin
Craig Robbins9-Nov-22 7:49
Craig Robbins9-Nov-22 7:49 
AnswerRe: Display balance Pin
Sam Hobbs9-Nov-22 11:25
Sam Hobbs9-Nov-22 11:25 
AnswerRe: Display balance Pin
Gerry Schmitz9-Nov-22 19:17
mveGerry Schmitz9-Nov-22 19:17 
AnswerRe: Display balance Pin
CPallini12-Nov-22 10:39
mveCPallini12-Nov-22 10:39 
QuestionMaking VC++ 6 DLL to work on VB6 App with no UNICODE issue Pin
whiteboat27-Oct-22 19:50
whiteboat27-Oct-22 19:50 
AnswerRe: Making VC++ 6 DLL to work on VB6 App with no UNICODE issue Pin
Victor Nijegorodov27-Oct-22 20:41
Victor Nijegorodov27-Oct-22 20:41 

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.