Udostępnij za pośrednictwem


COleServerDoc::NotifyRename

Call this function after the user renames the server document.

void NotifyRename(
   LPCTSTR lpszNewName 
);

Parameters

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

Remarks

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.

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

COleServerDoc::NotifySaved

CDocument::OnSaveDocument

Other Resources

COleServerDoc Members