COleServerDoc::NotifyRename

voidNotifyRename(LPCTSTRlpszNewName**);**

Parameters

lpszNewName

Pointer to a string specifying the new name of the server document; this is typically a fully qualified path.

Remarks

Call this function after the user renames the server document. When the user chooses the Save As command from the File menu, NotifyRename is called by COleServerDoc’s implementation of the OnSaveDocument member function. This function notifies the OLE system DLLs, which in turn notify the containers. In container applications written with the Microsoft Foundation Class Library, the OnChange member function of COleClientItem is called.

COleServerDoc OverviewClass MembersHierarchy Chart

See Also   COleServerDoc::NotifySaved, CDocument::OnSaveDocument