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


GetWindowProxyIcon

Obtains a window's proxy icon.

pascal OSStatus GetWindowProxyIcon (
                     WindowPtr window,
                     IconRef *outIcon);
window
A value of type WindowPtr . Pass a pointer to the window for which you wish to obtain the proxy icon.
outIcon
A pointer to a value of type IconRef . On return, the icon reference identifies the icon currently used for the window's proxy icon. Your application is responsible for disposing of this icon reference.
function result
A result code. See Result Codes.
DISCUSSION

Your application should call the GetWindowProxyIcon function if it needs to obtain an IconRef value for a proxy icon, such as is required for the function SetWindowProxyIcon . See Supporting Window Proxy Icons for examples of how your application can provide proxy icon support in its document windows.

VERSION NOTES

Available with Mac OS 8.5 and later.


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

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

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