Click here to Skip to main content
15,920,633 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how can i put a bitmap on a CListCtrl? Pin
Michael Dunn3-Dec-01 20:04
sitebuilderMichael Dunn3-Dec-01 20:04 
Generalideas please Pin
Djibril3-Dec-01 18:47
professionalDjibril3-Dec-01 18:47 
GeneralRe: ideas please Pin
Bill Wilson4-Dec-01 9:31
Bill Wilson4-Dec-01 9:31 
GeneralRe: ideas please Pin
Djibril5-Dec-01 8:23
professionalDjibril5-Dec-01 8:23 
GeneralRe: ideas please Pin
Bill Wilson6-Dec-01 5:38
Bill Wilson6-Dec-01 5:38 
GeneralRe: ideas please Pin
Djibril6-Dec-01 11:15
professionalDjibril6-Dec-01 11:15 
GeneralRe: ideas please Pin
Vivek Rajan6-Dec-01 18:12
Vivek Rajan6-Dec-01 18:12 
GeneralCMemDC Pin
Christopher Lord3-Dec-01 17:40
Christopher Lord3-Dec-01 17:40 
I am having a problem with this class. I've noticed there are a couple, so here is the comment at the top so that we know which one i'm using (edited for space):

// CMemDC - memory DC
// Author: Keith Rule
// Email:  keithr@europa.com
// Copyright 1996-1999, Keith Rule


Now, my problem.

I have a program which has its own skin format. I was having some flicker problems when updating some text on top of the skin, and tried various fixes. When I found this class, I thought my problems where solved.

Lately, I've been having crashes on screen resolution changes. Specifically an access violation (0x...05). I figured it was my code and have been diffing and whatnot for the past few days.

Turns out, its this class! If I use normal drawing calls, the problem goes away completely.


Has anyone had similar problems with this class? If so, how did you fix it? Or is there a better version out there?
GeneralRe: CMemDC Pin
Rick York3-Dec-01 18:45
mveRick York3-Dec-01 18:45 
GeneralRe: CMemDC Pin
Christopher Lord3-Dec-01 18:49
Christopher Lord3-Dec-01 18:49 
Generala problem Pin
Karavaev Denis3-Dec-01 17:23
Karavaev Denis3-Dec-01 17:23 
GeneralRe: a problem Pin
Christian Graus3-Dec-01 17:56
protectorChristian Graus3-Dec-01 17:56 
GeneralRe: a problem Pin
Karavaev Denis3-Dec-01 18:10
Karavaev Denis3-Dec-01 18:10 
GeneralRe: a problem Pin
Christian Graus3-Dec-01 18:14
protectorChristian Graus3-Dec-01 18:14 
GeneralRe: a problem Pin
Karavaev Denis3-Dec-01 18:18
Karavaev Denis3-Dec-01 18:18 
GeneralMSHTML problem -- help please! Pin
foobat3-Dec-01 17:05
foobat3-Dec-01 17:05 
GeneralAvoid reading response headers Pin
Mythili3-Dec-01 15:09
Mythili3-Dec-01 15:09 
GeneralMfc type control to a OCX Pin
YanivY3-Dec-01 14:48
YanivY3-Dec-01 14:48 
QuestionWhy MFC makes ctor as protected? Pin
Alex Dong3-Dec-01 14:42
Alex Dong3-Dec-01 14:42 
AnswerRe: Why MFC makes ctor as protected? Pin
Christian Graus3-Dec-01 14:47
protectorChristian Graus3-Dec-01 14:47 
GeneralRe: Why MFC makes ctor as protected? Pin
Rick York3-Dec-01 15:48
mveRick York3-Dec-01 15:48 
GeneralRe: Why MFC makes ctor as protected? Pin
Alex Dong3-Dec-01 15:55
Alex Dong3-Dec-01 15:55 
GeneralRe: Why MFC makes ctor as protected? Pin
Fazlul Kabir4-Dec-01 10:18
Fazlul Kabir4-Dec-01 10:18 
AnswerRe: Why MFC makes ctor as protected? Pin
Erik Funkenbusch4-Dec-01 9:50
Erik Funkenbusch4-Dec-01 9:50 
AnswerRe: Why MFC makes ctor as protected? Pin
Ravi Bhavnani4-Dec-01 10:05
professionalRavi Bhavnani4-Dec-01 10:05 

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.