Carbon


GetFrontServiceWindow

Header: TextServices.h Carbon status: Unsupported

Determines which is the frontmost window in the floating window service layer.

OSErr GetFrontServiceWindow (
    WindowRef *window
);
Parameter descriptions
window

On return, a pointer to the frontmost window in the service layer. If there is no window in the service layer, it returns NULL. This function calls the Window Manager FrontWindow function.

function result

A result code.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.

CARBON NOTES

You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, replace calls to GetFrontServiceWindow with calls to the Window Manager function FrontWindow.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)