Re: Screen not redrawing

2008-10-20 Thread Graham Cox
On 21 Oct 2008, at 4:30 am, Russ wrote: Still having trouble getting my screen redraw to come to life. Very odd--- 1) The window title bar isn't getting redrawn right either when a different app's menu steps on it. 2) If I use the normal NSView instead of my subclassed version, still d

Re: Screen not redrawing - SOLVED

2008-10-20 Thread Russ
From: Russ <[EMAIL PROTECTED]> To: cocoa-dev@lists.apple.com Sent: Monday, October 20, 2008 1:30:57 PM Subject: Re: Screen not redrawing Still having trouble getting my screen redraw to come to life. Very odd--- 1) The window title bar isn't getting redrawn right either when a different

Re: Screen not redrawing

2008-10-20 Thread Russ
Still having trouble getting my screen redraw to come to life. Very odd--- 1) The window title bar isn't getting redrawn right either when a different app's menu steps on it. 2) If I use the normal NSView instead of my subclassed version, still doesn't work. 3) If I replace my subclassed drawR

Re: Screen not redrawing

2008-10-18 Thread Jean-Daniel Dupas
Le 18 oct. 08 à 05:50, Russ a écrit : Check to make sure [window isFlushWindowDisabled] is NO and [window isAutodisplay] is YES. Yes, both OK. Also, try dropping a standard control (e.g. a button) in and see if it redraws to the pressed state when you press it. When I do this programmatic

Re: Screen not redrawing

2008-10-18 Thread Graham Cox
On 18 Oct 2008, at 2:50 pm, Russ wrote: When I do this programmatically after creating the main window's NSView, it scarfs up the bounding box of the succeeding views, not sure why that is. This is another common symptom of using 'rect' as the view's bounds. Are you *sure* 100% positive

Re: Screen not redrawing

2008-10-17 Thread Russ
>Check to make sure [window isFlushWindowDisabled] is NO and [window isAutodisplay] is YES. Yes, both OK. > Also, try dropping a standard control (e.g. a button) in and see if it redraws to the pressed state when you press it. When I do this programmatically after creating the main window's NS

Re: Screen not redrawing

2008-10-17 Thread Russ
t: Friday, October 17, 2008 7:39:21 PM Subject: Re: Screen not redrawing On 18 Oct 2008, at 8:48 am, Russ wrote: > My app is drawing acceptably (for now) the first time, but the > screen isn't updating after anything happens. I am calling > setNeedsDisplay:YES on the affect

Re: Screen not redrawing

2008-10-17 Thread Graham Cox
On 18 Oct 2008, at 8:48 am, Russ wrote: My app is drawing acceptably (for now) the first time, but the screen isn't updating after anything happens. I am calling setNeedsDisplay:YES on the affected NSViews and their drawRect routines are getting called, but it seems the results aren't bein

Re: Screen not redrawing

2008-10-17 Thread I. Savant
On Oct 17, 2008, at 5:48 PM, Russ wrote: Anything else I'm missing that's needed to enable the new images to make it to the screen? I have a normal event loop NSApp run going, things would be going well if the redraws were visible. Thanks. Apologies if this is in reference to another thre

Re: Screen not redrawing

2008-10-17 Thread Russ
indow that must be tickled, or the NSApp. Looks a lot like the draw is OK, just not making it to the screen. - Original Message Sent: Friday, October 17, 2008 5:53:36 PM Subject: Re: Screen not redrawing --- On Fri, 10/17/08, Russ <[EMAIL PROTECTED]> wrote: > My app is drawing

Re: Screen not redrawing

2008-10-17 Thread Charles Steinman
--- On Fri, 10/17/08, Russ <[EMAIL PROTECTED]> wrote: > My app is drawing acceptably (for now) the first time, but > the screen isn't updating after anything happens. I am > calling setNeedsDisplay:YES on the affected NSViews and > their drawRect routines are getting called, but it seems the > res

Screen not redrawing

2008-10-17 Thread Russ
My app is drawing acceptably (for now) the first time, but the screen isn't updating after anything happens. I am calling setNeedsDisplay:YES on the affected NSViews and their drawRect routines are getting called, but it seems the results aren't being composited onto the screen subsequently. If