![]() |
ActivateTSMDocument |
||||
Header: | TextServices.h | Carbon status: | Supported | |
Instructs the Text Services Manager to mark the TSM document associated with a newly active window as active.
OSErr ActivateTSMDocument ( TSMDocumentID idocID );
A TSM document identification number created by a prior call to the NewTSMDocument function.
A result code.
When a window that has an associated TSM document becomes active, your client application must call the ActivateTSMDocument function to inform the Text Services Manager that the document is activated and is ready to use text service components.
ActivateTSMDocument calls the equivalent text service component function ActivateTextService for all open text service components associated with the TSM document.
If a text service component has a menu, the Text Services Manager inserts the menu into the menu bar.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)