option-drag & Cocoa
option-drag & Cocoa
- Subject: option-drag & Cocoa
- From: Mark Dawson <email@hidden>
- Date: Sat, 26 Feb 2005 14:45:35 -0800
I know when an option-drag happens, I'm supposed to initiate a copy
operation. From the examples I've seen, drags are set up in the
-mouseDown: method, which is continually called. My question revolves
around state: since I get continually called, the option key may turn
on and off. Do most people save a state (option on/off) at the start
of a drag, or honor the possibility of a continually changing option
key? All the UI guidelines say is that an option key should initiate
a drag, not what to do about the user pressing it mid-way through a
drag or releasing it. Honoring a changing state could look weird
(i.e., a copy might leave the original in place, and show an image
moving during the drag; honoring the change would mean that the
original would suddenly dissapear…)
Thanks,
Mark
_______________________________________________
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