• 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: key modifiers change during drag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: key modifiers change during drag


  • Subject: Re: key modifiers change during drag
  • From: Seth Delackner <email@hidden>
  • Date: Thu, 9 Oct 2003 00:00:11 +0000
  • Mail-followup-to: email@hidden

On Wed, Oct 08, 2003 at 07:08:33PM -0400, robert l clair wrote:
> Use [theEvent modifierFlags] to get the mask of modifier keys
> on mouseDown, hold on to it , do [theEvent modifierFlags] in each
> drag event and check for changes ? I haven't done this but the docs do
> not say that modifierFlags is restricted to Key events and the header files
> says it is valid for all events.

Yes, but you receive no events at all when the user has the
mouse down, has dragged some, and now just presses a
modifier. You receive an event next time the user nudges
the mouse. The finder's drag behavior is clearly not thusly
restricted.
_______________________________________________
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: key modifiers change during drag
      • From: Greg Titus <email@hidden>
References: 
 >Re: key modifiers change during drag (From: robert l clair <email@hidden>)

  • Prev by Date: Re: Drag out
  • Next by Date: (no subject)
  • Previous by thread: Re: key modifiers change during drag
  • Next by thread: Re: key modifiers change during drag
  • Index(es):
    • Date
    • Thread