Re: View does not get refreshed after Window deminimized...

2010-03-11 Thread cocoa learner
Hummm... looks like my approach has flaw. Thanks a ton, Cocoa.learner On Thu, Mar 11, 2010 at 11:52 PM, Quincey Morris < quinceymor...@earthlink.net> wrote: > On Mar 11, 2010, at 06:50, cocoa learner wrote: > > > And on this custom view I have a progress bar, that progressbar gets it's > > progr

Re: View does not get refreshed after Window deminimized...

2010-03-11 Thread Quincey Morris
On Mar 11, 2010, at 06:50, cocoa learner wrote: > And on this custom view I have a progress bar, that progressbar gets it's > progress value from a NSThread. And I am using following function render the > progressbar, from NSThread - > > > [progBar performSelectorOnMainThread: (display) withObje

View does not get refreshed after Window deminimized...

2010-03-11 Thread cocoa learner
Hi All, I have subclassed a custom view in following way - @implementation AppContentView - (id)initWithFrame: (NSRect)frame { self = [super initWithFrame:frame]; if (self) { // Initialization code here. } return self; } - (void)drawRect:(NSRect)rect { [[NSCo