Re: Dynamically Updating Column Titles in NSTableView with Mouse Events
Re: Dynamically Updating Column Titles in NSTableView with Mouse Events
- Subject: Re: Dynamically Updating Column Titles in NSTableView with Mouse Events
- From: Graham Cox <email@hidden>
- Date: Tue, 20 Jul 2010 12:00:48 +1000
On 20/07/2010, at 11:54 AM, Peter Zegelin wrote:
> I've tried both the commented out methods at the end but no luck. Quartz Debug shows no updating in the header area either.
>
> NOTE: The column headers do update if I set a breakpoint at [itsTableView displayIfNeeded] or move the splitter that the table is in.
>
> Thanks for any advice,
If this is called within some loop (like a tracking loop) you probably need to flush the update to the screen manually - after calling -setNeedsDisplay: try
[[itsTableView window] displayIfNeeded];
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden