Control.Refresh

  • Thread starter Thread starter baramuse
  • Start date Start date
B

baramuse

Hi all,

I was wondering why, when I call the control.refresh() methode, the
control isn't repainted immediatly (as it is described to do)?

thx :)
 
Control.Refresh just calls Invalidate and Update.
What happens if you place an Application.DoEvents after the call?

Cheers
Daniel
 
Daniel said:
Control.Refresh just calls Invalidate and Update.
What happens if you place an Application.DoEvents after the call?

Cheers
Daniel

same problem....
I have a MessageBox over my form and the region hidden by my messagebox
il repainted when I close it but the rest of the form is still not
repainted (with or without ApplicationEx.DoEvent() or
Application.DoEvents())
 
Daniel said:
Control.Refresh just calls Invalidate and Update.
What happens if you place an Application.DoEvents after the call?

Cheers
Daniel
I'm still having this problem... somebody have any suggestion? :)

thx
 
Could you please provide more details about the problem and, if it is
possible, a simple application that reproduces the problem?

Thank you,
Sergiy.

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Date: Wed, 24 Nov 2004 16:52:23 +0100
| From: baramuse <[email protected]>
| User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
| X-Accept-Language: en-us, en
| MIME-Version: 1.0
| Subject: Re: Control.Refresh
| References: <#[email protected]>
<[email protected]>
| In-Reply-To: <[email protected]>
| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| Content-Transfer-Encoding: 7bit
| Message-ID: <#[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: arennes-205-1-4-9.w80-13.abo.wanadoo.fr 80.13.0.9
| Lines: 1
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15
.phx.gbl
| Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.compactframework:65787
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Daniel Moth wrote:
| > Control.Refresh just calls Invalidate and Update.
| > What happens if you place an Application.DoEvents after the call?
| >
| > Cheers
| > Daniel
|
| same problem....
| I have a MessageBox over my form and the region hidden by my messagebox
| il repainted when I close it but the rest of the form is still not
| repainted (with or without ApplicationEx.DoEvent() or
| Application.DoEvents())
|
|
 
Back
Top