Click here to Skip to main content
15,922,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMaking simple COM object ! Pin
Hadi Rezaee28-Feb-02 11:24
Hadi Rezaee28-Feb-02 11:24 
GeneralRe: Making simple COM object ! Pin
Nemanja Trifunovic28-Feb-02 11:35
Nemanja Trifunovic28-Feb-02 11:35 
GeneralOpenGL: Lighting Pin
28-Feb-02 10:58
suss28-Feb-02 10:58 
Questionis this possible? Pin
jafrazee28-Feb-02 9:44
jafrazee28-Feb-02 9:44 
AnswerRe: is this possible? Pin
alex.barylski28-Feb-02 9:52
alex.barylski28-Feb-02 9:52 
AnswerRe: is this possible? Pin
Tim Deveaux28-Feb-02 9:55
Tim Deveaux28-Feb-02 9:55 
GeneralRe: is this possible? Pin
alex.barylski28-Feb-02 10:00
alex.barylski28-Feb-02 10:00 
GeneralRe: is this possible? Pin
Tim Deveaux28-Feb-02 10:17
Tim Deveaux28-Feb-02 10:17 
GeneralRe: is this possible? Pin
Todd.Harvey1-Mar-02 3:40
Todd.Harvey1-Mar-02 3:40 
AnswerRe: is this possible? Pin
Shog928-Feb-02 9:58
sitebuilderShog928-Feb-02 9:58 
GeneralOnEraseBkgnd VS OnPaint Pin
alex.barylski28-Feb-02 9:33
alex.barylski28-Feb-02 9:33 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
Joaquín M López Muñoz28-Feb-02 10:41
Joaquín M López Muñoz28-Feb-02 10:41 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
Christian Graus28-Feb-02 10:52
protectorChristian Graus28-Feb-02 10:52 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
Tim Smith28-Feb-02 11:10
Tim Smith28-Feb-02 11:10 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
alex.barylski28-Feb-02 12:22
alex.barylski28-Feb-02 12:22 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
Christian Graus28-Feb-02 12:24
protectorChristian Graus28-Feb-02 12:24 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
Jon Hulatt28-Feb-02 23:23
Jon Hulatt28-Feb-02 23:23 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
Paul M Watt28-Feb-02 10:59
mentorPaul M Watt28-Feb-02 10:59 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
alex.barylski28-Feb-02 12:15
alex.barylski28-Feb-02 12:15 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
Paul M Watt28-Feb-02 14:23
mentorPaul M Watt28-Feb-02 14:23 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
alex.barylski28-Feb-02 16:26
alex.barylski28-Feb-02 16:26 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
Paul M Watt28-Feb-02 19:52
mentorPaul M Watt28-Feb-02 19:52 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
Paul M Watt28-Feb-02 10:53
mentorPaul M Watt28-Feb-02 10:53 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
alex.barylski28-Feb-02 12:29
alex.barylski28-Feb-02 12:29 
GeneralRe: OnEraseBkgnd VS OnPaint Pin
Paul M Watt28-Feb-02 14:26
mentorPaul M Watt28-Feb-02 14:26 
HockeyDude wrote:
kilowatt wrote:
Instead, the CMemDC erases the background on the double buffer, then blts the entire backbuffer to your window, elimiating the need for the default OnErase handler.


Would this be the reason why CMemDC still causes flicker when used within OnErase...???


As long as you do not pass the Erase message on to the default handler, this would not continue to cause the problem.

Why don't you post the OnPaint and OnErase handler, and I will see if I can figure out why you are having this probelm.

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.