|PATHDocumentation > Mac OS 8 and 9 > Human Interface Toolbox > Window Manager >|
Programming With the Mac OS 8.5 Window Manager
Dissociates a file from a window.
pascal OSStatus RemoveWindowProxy (WindowPtr window);
With Mac OS 8.5, you must save and restore the current graphics port--by calling the QuickDraw functions GetPort and SetPort --around each call to the RemoveWindowProxy function. See Supporting Window Proxy Icons for examples of how your application can provide proxy icon support in its document windows.