Found the problem. It did not reside in the code below. Sorry for the waste of bandwidth :-(
***** I know this is supposed to be trivial but none of the permutations I've tried have worked [Xcode 3.1.3]. My current incarnation is as follows: -(void)doShowHide:(BOOL)show time:(short)t { NSWindow *dispWindow = [dispDoc windowForSheet]; NSString *suffix = [NSString stringWithFormat:@": t = %hd", t]; NSString *fullTitle = [title stringByAppendingString:suffix]; if (show == YES) { [dispWindow setTitle:fullTitle]; [dispWindow makeKeyAndOrderFront:self]; [dispWindow setViewsNeedDisplay:YES]; [dispWindow display]; } else [dispWindow orderOut:self]; } This function is called periodically via the Event Loop. There is one custom view in the window and it *does* redraw as desired. However, the title draws only the first time, giving t = 0 in the title and never changing. I would like the title to update with time. Can anyone point out what I am missing? [Note: The NSString, title, is a class member.] Thanks. -- Mike McLaughlin _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com