Is this technically Feasible? - Drop location to be determined programmatically?
Is this technically Feasible? - Drop location to be determined programmatically?
- Subject: Is this technically Feasible? - Drop location to be determined programmatically?
- From: Manish Pattath <email@hidden>
- Date: Fri, 3 Dec 2004 11:23:23 +0000 (GMT)
Hi,
I have a matrix of NSButtonCells which house images
that can be dragged and dropped ANYWHERE on the File
system.Depending on the location of the drop i need to
do some processing.
I have handled the drag of images from cells.Here is
the problem - now i want to drop the image at say
"/Users/Name/Desktop/AppleScript/MyImage" where
MyImage is the image that is dropped.
I want the path /Users/Name/Desktop/AppleScript to be
determined programmatically.
i.e. I want the drop Location.
As mentioned earlier that the user can drop it
anywhere in the file system hierarchy, How do i get
the path to where the image were dropped.?
My Application is a dragging source but not the
receiver. U can drag from my application but it cannot
accept the drags.
How should i go about it. Does anyone have a code
snippet for this.
Thanks for any help.
Rgds,
Manish.
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
_______________________________________________
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