Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC
PATHDocumentation > Mac OS 8 and 9 > Human Interface Toolbox > Window Manager >

Programming With the Mac OS 8.5 Window Manager


Obtains an alias for the file that is associated with a window.

pascal OSStatus GetWindowProxyAlias (
                     WindowPtr window,
                     AliasHandle *alias);
A value of type WindowPtr . Pass a pointer to the window for which you wish to determine the associated file.
A pointer to a value of type AliasHandle . On return, the AliasRecord structure referenced by the alias handle contains a copy of the alias data for the file associated with the specified window. Your application must dispose of this handle. See Inside Macintosh: Files for more information on aliases.
function result
A result code. See Result Codes.

Your application can call the GetWindowProxyAlias function to retrieve alias data for the file associated with a window. See Supporting Window Proxy Icons for examples of how your application can provide proxy icon support in its document windows.


Available with Mac OS 8.5 and later.


The function SetWindowProxyAlias .

1999 Apple Computer, Inc. – (Last Updated 18 March 99)

Get information on Apple products.
Visit the Apple Store online or at retail locations.

Copyright © 2004 Apple Computer, Inc.
All rights reserved. | Terms of use | Privacy Notice