Re: Selecting rows in NSOutlineView from menuForEvent:?
Re: Selecting rows in NSOutlineView from menuForEvent:?
- Subject: Re: Selecting rows in NSOutlineView from menuForEvent:?
- From: Laurent Daudelin <email@hidden>
- Date: Fri, 9 Apr 2010 15:41:15 -0700
On Apr 9, 2010, at 15:17, Nick Zitzmann wrote:
>
> On Apr 9, 2010, at 3:42 PM, Laurent Daudelin wrote:
>
>> However, the selection is the standard highlight, not the outline I see in any other table views in other Apple applications.
>
> I think the "drop highlighting" thing a few Apple apps do is accomplished through a private API. I wouldn't worry about it too much, since you'd be amazed at how many people don't even know that contextual menus exist (unless your target market is exclusively power users), but you can probably do this yourself by overriding the row drawing method to draw a similar-looking bezier path over the top of the row.
Thanks, Nick. That seems a little bit too much work given what I still have to do.
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries_______________________________________________
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