![]() |
RemoveWindowProxy |
||||
Header: | MacWindows.h | Carbon status: | Supported | |
Dissociates a file from a window.
OSStatus RemoveWindowProxy ( WindowRef window );
A pointer to the window for which you wish to remove the associated file.
A result code.
The RemoveWindowProxy function redraws the window title bar after removing all data associated with a given file, including the proxy icon, path menu, and file data.
With Mac OS 8.5, you must save and restore the current graphics portby calling the QuickDraw functions GetPort and SetPortaround each call to the RemoveWindowProxy function.
This function is available with Mac OS 8.5 and later.
Supported in Carbon. Available in CarbonLib 1.0 and later when WindowsLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by WindowsLib 8.5 and later.
© 2000 Apple Computer, Inc. (Last Updated 4/14/2000)