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: mouse pointer for drag copy



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.


References: 
 >mouse pointer for drag copy (From: Adam Maxwell <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.