Mailing Lists: Apple Mailing Lists

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

TrackWindowProxyDrag - where did file go?



Our application includes a text editor. 
The windows for files being edited contain a proxyicon
created with FSNewAliasMinimal and SetWindowProxyAlias.
When the icon is dragged invoking TrackWindowProxyDrag,
it is said in the headers that if TrackWindowProxyDrag
return noErr that means that the file was dragged somewhere.
It appears to be the case that sometimes an alias is created
and sometimes the original file is actually moved.
In either case I would like to know where the file went.
That is clearly knowable because the popup menu invoked
when clicking the proxyicon with command key down
shows the new "location" of the file.
Have tried
GetWindowProxyAlias followed by 
FSCopyAliasInfo
which does not work
(the comments in the header file imply it might not).
The whichinfo result is 0 and if the pathString result
is requested the value is NULL.
Any hints on how to find where the file went would
be appreciated.
 Thanks,
  Alice


 


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

This email sent to 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.