• 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: NSMatrix drag & drop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMatrix drag & drop


  • Subject: Re: NSMatrix drag & drop
  • From: Scott Anguish <email@hidden>
  • Date: Tue, 19 Aug 2003 01:08:30 -0400

On Tuesday, August 19, 2003, at 12:22 AM, Dave Riggle wrote:

My little iPhoto-like app is coming along. Selection and drag & drop are mostly working. I have a few new questions:

1. NSMatrix's mouseDown() function eats drag events. Is there a clean way to overrride it so I can get drag events without having to re-implement all the shift-click, cmd-click, double click logic?


you'd want to implement the mouseDrag() I think.

3. How do I get the cursor to change into a "+" arrow when I drag an image to the finder? Right now I am putting a TIFF on the pasteboard. Is that the problem? I plan on putting file names there eventually.

in my NSMatrix subclass:

- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)flag
{
return NSDragOperationCopy;
}


I think so, yes.
_______________________________________________
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: NSMatrix drag & drop
      • From: Dave Riggle <email@hidden>
References: 
 >NSMatrix drag & drop (From: Dave Riggle <email@hidden>)

  • Prev by Date: NSMatrix drag & drop
  • Next by Date: Creating Video Software
  • Previous by thread: NSMatrix drag & drop
  • Next by thread: Re: NSMatrix drag & drop
  • Index(es):
    • Date
    • Thread