While drag-and-drop of an object (possibly from another window or
application) is in progress, I'd like to provide some visual cues and
control over the drop destination. In particular, I'd like to be able
to scroll the drop target view in response to the scroll wheel event
and also respond to some keys.

To my surprise, however, the scroll wheel events are not dispatched
immediately, but accumulated until the drop is complete and then they
burst out all at once. The keyboard events (except some modifier keys
that can be indirectly tested via the NSDraggingInfo) are absorbed
altogether and never reach the drop target.

Is there any workaround for this?

I assume that the system's drag-and-drop manager sets up its own run
loop. I thought I could override -[NSApplication sendEvent:], but as
the experiment has shown, it doesn't fix the problem. Can there be a
more up-stream way to install kind of a hook to intercept the messages
that I want?
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to