Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DnD with no dragImage



Your workaround is probably appropriate; it will do the right thing no matter what Apple decides to do wrt drag images in the future.

Karl

On Sep 30, 2004, at 1:21 PM, Ian Cheyne wrote:

I'm using the Drag and Drop API to implement a drag box in a Panel as well as to drag objects from one frame to another. In the event of the user clicking on "empty space" in a Panel my code identifies that this is a drag to select rather than a drag objects request. I use the dragOver method on the DragSourceListener to paint the drag box. However, because I am not dragging a dragImage the Mac also drags an outline of the Panel from which I am dragging.

I can easily remedy this by setting the dragImage to be an invisible and small image but is there any other way to prevent the drawing of the Panel outline. A preference setting perhaps? or is my "workaround" okay?

Ian Cheyne

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

--

Who said humans weren't complicated?
Cats.

Homepage:
     http://homepage.mac.com/khsu/index.html

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >DnD with no dragImage (From: Ian Cheyne <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.