Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 7 - Text Services Manager / Text Services Manager Reference
Text Service Component Routines / Providing a Text Service


HidePaletteWindows

The HidePaletteWindows function instructs an input method to hide its floating windows because another input method is becoming active.

FUNCTION HidePaletteWindows (ts: ComponentInstance): 
                             ComponentResult;
ts
A component instance created by a prior call to the Component Manager OpenComponent function.
DESCRIPTION
The HidePaletteWindows function is not called every time a component's document becomes inactive; it is called by the Text Services Manager only if the new document that is becoming active does not use the same text service component as the document last deactivated. When it receives a HidePaletteWindows call, the text service component should hide all its floating and nonfloating windows. Its menus, if any, will be removed from the menu bar by the Text Services Manager.

If the text service component has no palettes, it should return a ComponentResult value of noErr.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996