• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem with NSOutlineView...resolved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSOutlineView...resolved


  • Subject: Re: Problem with NSOutlineView...resolved
  • From: Blake Hodgetts <email@hidden>
  • Date: Mon, 15 Dec 2003 11:47:00 -0800

>The one way I can see to do it -- a little messy -- is
>actually to allow the change selection, but in
>outlineView:shouldSelectItem:, if the selection turns out
>not to be allowed, >then automatically reselect the previous
>selection using selectRow:byExtendingSelection:. I'd have to
>set some flags to prevent certain things from happening,
>but it would at least >be possible. I don't want to do this
>unless I have to -- it seems like a kludge -- but maybe it's
>actually the best way to do it?

This turns out to be the right way to do it...it works perfectly
and seamlessly.

thanks

--blake
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: RE: Multiple Overlapping SubViews?
  • Next by Date: Anyone doing iTunes plugins?
  • Previous by thread: RE: Adding items to the menu that appears when you right-click a file in the finder?
  • Next by thread: Anyone doing iTunes plugins?
  • Index(es):
    • Date
    • Thread