In a message regarding Re: RefreshRect dated Wed, 04 Jan 2006 09:48:51
-0500, John McKernon said that ...
> Actually, it generates a paint event, but I can't tell if it's
> refreshingthe whole window or not.
On my system, it doesn't refresh any of the window.
Checked using the following code:
''''''''
static DoRed as Boolean
DoRed = not DoRed
if DoRed Then
g.ForeColor = &cff0000
Else
g.ForeColor = &c00ffff
End If
g.FillRect 0,0,g.Width,g.Height
''''''''''
self.RefreshRect 10,10,50,50 refreshes a small square.
self.RefreshRect 0,0,0,0 refreshes nothing.
--
Steve Garman
Using REALbasic 2005r4 Professional on Windows XP Pro
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>