• 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
Modifiers and drag/drop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Modifiers and drag/drop


  • Subject: Modifiers and drag/drop
  • From: Michael Latta <email@hidden>
  • Date: Sat, 19 Apr 2003 20:29:53 -0700

The documentation states that the operating system will use modifiers to limit the sourceDragOperationMask from a drag info based on modifier keys. I am not seeing any such modifier based behavior. Does it really mean the Finder does this for drags to/from it? The operation mask my source returns is move/copy since it can support both. The target can also support both and allows both values to be returned for drag update. Does it need to filter based on modifiers manually? Since it only gets a drag info not an event this is a bit less direct than I would like.

The operation mask returned from the drag info as sourceDragOperationMask does not seem changed from the value returned by the source to draggingSourceOperationMaskForLocal. No modifier keys appear to affect this, unless they cause it to be unsupported. For example command (NSDragOperationGeneral) results in 0 (NSDragOperationNone) being provided as the mask.

Michael Latta
_______________________________________________
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: NSTableView and non-text items
  • Next by Date: programatically setEditable NSTextField- bug or feature?
  • Previous by thread: Moving on the screen
  • Next by thread: programatically setEditable NSTextField- bug or feature?
  • Index(es):
    • Date
    • Thread