Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
mfc dialog flickers
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
alexia  
View profile  
 More options Jun 15 2010, 4:44 pm
Newsgroups: comp.os.ms-windows.programmer.tools.mfc
From: alexia <alexia....@gmail.com>
Date: Tue, 15 Jun 2010 13:44:53 -0700 (PDT)
Local: Tues, Jun 15 2010 4:44 pm
Subject: mfc dialog flickers
Hi all,

I have a mfc dialog application. My app inherits from CDialog.
I read that in order to prevent the flickering I need to use the so
called "double buffering" by overriding the
"OnDraw()" event.

The problem is that CDialog doesn't contain "OnDraw()" event.
How can I do that? I haven't found resolution for CDialog.

Thank you for your help.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John H.  
View profile  
 More options Jun 16 2010, 1:57 pm
Newsgroups: comp.os.ms-windows.programmer.tools.mfc
From: "John H." <oldman_fromt...@yahoo.com>
Date: Wed, 16 Jun 2010 10:57:31 -0700 (PDT)
Local: Wed, Jun 16 2010 1:57 pm
Subject: Re: mfc dialog flickers
On Jun 15, 3:44 pm, alexia <alexia....@gmail.com> wrote:

> My app inherits from CDialog.
> I read that in order to prevent the flickering I need to use the so
> called "double buffering" by overriding the
> "OnDraw()" event.
> The problem is that CDialog doesn't contain "OnDraw()" event.

Take a look at ON_WM_PAINT and OnPaint.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »