RE: How to prevent window redraw when removing a view?
RE: How to prevent window redraw when removing a view?
- Subject: RE: How to prevent window redraw when removing a view?
- From: "Brant Sears" <email@hidden>
- Date: Mon, 30 Jan 2006 13:23:45 -0500
- Thread-topic: How to prevent window redraw when removing a view?
>Typically, a window should never be redrawn until control reaches the
>event loop again. Are you sure it's redrawing "immediately?"
Yes. I am sure. It is happening as I step through the code. I have tried using Quartz Debug while doing this and I can see the screen update (yellow flash).
The call is:
[myView removeFromSuperviewWithoutNeedingDisplay];
and right when I step over this line it updates and goes from the previous content to a while background. I also see the flash when it runs not using the debugger.
Two lines later, I am putting the exact same content back onto the screen in the same global coordinates using a call such as:
[myWindow orderFront: nil];
At this point, I see it change from white back to the image.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden