• 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
NSOutlineView drag hilight problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView drag hilight problem


  • Subject: NSOutlineView drag hilight problem
  • From: Christopher Corbell <email@hidden>
  • Date: Thu, 21 Aug 2003 16:21:04 -0700

I have an application object that can be dropped onto objects
in an NSOutlineView. All is working well, except that during the
drag NSOutlineView sometimes draws a drop hilight around the
targeted item (as a rectangle) and sometimes draws an "insertion"
hilight, as if the drop would insert something between rows.

This insertion hilight can leave 'ghost' hilights during the drag which
look bad, and in any case this type of hilight doesn't mean anything
in this context (the dropped item is an operation that is applied to
the target item(s), it never causes insertion of an element).

Is it possible to defeat 'insertion'-type hilighting between rows in an
NSOutlineView for a particular type of drag? The drag in question's
drag-operation type is NSDragOperationGeneric, and its pasteboard
type is a custom app-defined type.

Thanks for any suggestions,
- Christopher
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSOutlineView drag hilight problem
      • From: Pete Yandell <email@hidden>
  • Prev by Date: Re: How to get NSColorPanel's target?
  • Next by Date: NSTableView scrollbars
  • Previous by thread: Re: Title Bar placement
  • Next by thread: Re: NSOutlineView drag hilight problem
  • Index(es):
    • Date
    • Thread