On 5/8/06 12:25 AM, Alice Hartley didst favor us with:
> 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
FSResolveAlias is used to resolve an alias, not FSCopyAliasInfo. And I use
full aliases (FSNewAlias).
Larry
> (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