• 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
Mail-Style Drag Frame
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail-Style Drag Frame


  • Subject: Mail-Style Drag Frame
  • From: Philip Dow <email@hidden>
  • Date: Thu, 29 Dec 2005 20:14:11 +0100

I've done some google searching on this but haven't come up with much, while there is much to be said about providing a mail-style selection gradient.

I would like to customize the drag frame that appears around a row in a table- or outlineview as you drag items onto it. The default implementation puts a rather ugly black box around the row. I would like to display something similar to mail's drag frame.

How would I go about doing this? I'm not aware of any drawing methods that specifically handle the drag frame. Would I need to note the location of the currently dragged object in my delegate code and then grab that information from within my custom outlineview's drawRow:clipRect: method so I could frame the appropriate row? This doesn't seem to difficult to implement, but if there's an easier way, I'm all ears.

-Phil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Mail-Style Drag Frame
      • From: Guillaume Gandreau <email@hidden>
  • Prev by Date: Connexion DataSource <-> NSArrayController
  • Next by Date: Bundle/Framework problem
  • Previous by thread: Connexion DataSource <-> NSArrayController
  • Next by thread: Re: Mail-Style Drag Frame
  • Index(es):
    • Date
    • Thread