• 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: Detect ALT key pressed during dragging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detect ALT key pressed during dragging


  • Subject: Re: Detect ALT key pressed during dragging
  • From: j o a r <email@hidden>
  • Date: Sun, 16 May 2004 15:52:16 +0200

What kind of drag operations does the source provide (as specified by
draggingSourceOperationMaskForLocal:)?

j o a r

On 2004-05-16, at 12.17, Lorenzo wrote:

> thank you. I tried that and if I drag a file from the Finder, it works
> properly. But if I drag a NSFilenamesPboardType from my other
> application
> "ListFilesApp", the draggingSourceOperationMask method always returns
> NSDragOperationCopy, even if the ALT is not pressed.
>
>
> In "ListFilesApp" I defined the drag like this:
>
> - (BOOL)tableView:(NSTableView *)tv writeRows:(NSArray*)rows
> toPasteboard:(NSPasteboard*)pboard
> {
> // ...get the list of the file paths.
>
> NSArray *types = [NSArray arrayWithObjects:NSFilenamesPboardType,
> nil];
> [pboard declareTypes:types owner:self];
> [pboard setPropertyList:filePathList
> forType:NSFilenamesPboardType];
> }
>
> So, now I suppose that I missed something in my "ListFilesApp"
> application.
> What?

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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: Detect ALT key pressed during dragging
      • From: Lorenzo <email@hidden>
References: 
 >Re: Detect ALT key pressed during dragging (From: Lorenzo <email@hidden>)

  • Prev by Date: keeping tooltips from wrapping
  • Next by Date: Re: Recuperating after NS_HANDLER
  • Previous by thread: Re: Detect ALT key pressed during dragging
  • Next by thread: Re: Detect ALT key pressed during dragging
  • Index(es):
    • Date
    • Thread