Export (0) Print
Expand All


Call this function after the user renames the server document.

void NotifyRename(
   LPCTSTR lpszNewName 



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

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.

Community Additions

© 2014 Microsoft