Article View: borland.public.cppbuilder.nativeapi
Article #4176Re: Application ProcessMessages
From: Mark Jacobs
Date: Mon, 13 Mar 2006 10:33
Date: Mon, 13 Mar 2006 10:33
18 lines
1972 bytes
1972 bytes
"saravanan" <asaravanan@ften.com> wrote in message news:441516f5$1@newsgroups.borland.com... > Consider i have 5 windows in my application and only 3 of them requires > painting, in this case i will try to paint all the 5 windows. I am > repainting the 2 windows which doesn't require painting. Already OS is > taking care of painting the necessary area only, i think we are ignoring > that optimization or performance. Internally, Windows knows what is showing and what isn't. If you ask it repaint all your forms, it probably won't do very much for forms that aren't showing. I wouldn't worry about this optimisation. Remy's solution is correct for your problem. -- Nah, just fooling wiv yer! Mark Jacobs DK Computing http://www.dkcomputing.co.uk
Technical Details
Message-ID:
<44154a12@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<440ee66c@newsgroups.borland.com> <440f21ca$1@newsgroups.borland.com> <441004a5$1@newsgroups.borland.com> <44109fc6$1@newsgroups.borland.com> <441117a4$1@newsgroups.borland.com> <4411d170$1@newsgroups.borland.com> <441516f5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bb5b2339083fb22b X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup> Newsgroups: borland.public.cppbuilder.nativeapi References: <440ee66c@newsgroups.borland.com> <440f21ca$1@newsgroups.borland.com> <441004a5$1@newsgroups.borland.com> <44109fc6$1@newsgroups.borland.com> <441117a4$1@newsgroups.borland.com> <4411d170$1@newsgroups.borland.com> <441516f5$1@newsgroups.borland.com> Subject: Re: Application ProcessMessages Date: Mon, 13 Mar 2006 10:33:33 -0000 Lines: 20 Organization: DK Computing X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 81.144.157.8 Message-ID: <44154a12@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1142245906 81.144.157.8 (13 Mar 2006 02:31:46 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail