Refresh() and Invalidate()
- From: SharpCoderMP <csharp_mp@xxxxxxxxxxxxxxxx>
- Date: Thu, 11 Aug 2005 14:55:03 +0200
two questions:
1. what's the difference with user drawn control? if i call Invalidate() without specifying region isn't that the same as Refresh()? what's the difference "inside" the framework? does this two methods are handled in a different way?
2. why Invalidate() is not immediate? i had few situations when i needed to force redrawing of a user drawn control and when i called Invalidate nothing happend. putting Refresh() in the same place instead of Invalidate() did the trick. what may be the reason? because of that i do not use Invalidate() at all, but lately when i came across bob powell site i noticed that he is using (probably) only Invalidate(). why?
.
- Follow-Ups:
- Re: Refresh() and Invalidate()
- From: Scott McChesney
- Re: Refresh() and Invalidate()
- Prev by Date: frequent redrawing issue
- Next by Date: Re: Printing to the Acrobat PDFWriter
- Previous by thread: frequent redrawing issue
- Next by thread: Re: Refresh() and Invalidate()
- Index(es):
Relevant Pages
|