Re: mouse pointer for drag copy
Re: mouse pointer for drag copy
- Subject: Re: mouse pointer for drag copy
- From: Adam Maxwell <email@hidden>
- Date: Sat, 31 Jul 2004 13:54:35 -0500
On Jul 29, 2004, at 12:11, Adam Maxwell wrote:
I'm using promise drags to copy files from a table view to the Finder,
based on code I found from the archives of this list. Things are
working fine, but I don't see the mouse pointer change to the green
circle with a plus sign that typically indicates a drag copy in the
Finder and elsewhere. Do I have to do something special to get this?
One thing I found that gets me partway there is to call
SetThemeCursor(kThemeCopyArrorCursor) in
-draggingSourceOperationMaskForLocal:, when it returns
NSDragOperationCopy (this is in my tableview subclass). Unfortunately,
as soon as the pointer hovers over the desktop, the copy cursor goes
back the the standard pointer. If I hover over a folder with a dragged
file, the folder opens up, so the Finder knows it's receiving a file
copy.
--
Adam
_______________________________________________
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.