Re: GC graphics_exposures

Peter Zelezny <[email protected]> Fri, 24 Jan 2003 12:55:34 +1100
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
On Thu, 23 Jan 2003 22:12:12 +0000
Tor Lillqvist <[email protected]> wrote:

>  > I don't know how to emulate that in Win32, off-hand, but I will
>  > investigate.
> 
> I wonder if using ScrollWindowEx() with SW_INVALIDATE instead of
> BitBlt() in blit_inside_window() would help? Will have to do some
> testing... You wouldn't happen to have a minimal but complete test
> program?

I don't think that'll work, because ScrollWindowEx doesn't take into
account obscured parts of the window. It only invalidates the parts
that will scroll from off-screen and need to be redrawn.

Is there a mainloop event that tells you a window is being obscured?
It could be recorded and used later.


-- 
Peter Zelezny.

To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/