Important: The information in this document is obsolete and should not be used for new development.
HidePaletteWindows
TheHidePaletteWindowsfunction 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
OpenComponentfunction.DESCRIPTION
TheHidePaletteWindowsfunction 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 aHidePaletteWindowscall, 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
ComponentResultvalue ofnoErr.