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: Interapplication Communication /
Chapter 2 - Edition Manager / Using the Edition Manager


Renaming a Document Containing Sections

If a user renames a document that contains sections by choosing Save As from the File menu, or if a user pastes a portion of a document that contains a section into another document, use the AssociateSection function.

Use the AssociateSection function to update the alias record of a registered section.

err := AssociateSection (sectionH, newSectionDocument);
The AssociateSection function internally calls the UpdateAlias function. It is also possible to update the alias record using the Alias Manager (see the chapter "Alias Manager" in Inside Macintosh: Files for additional information).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996