Поделиться через


COleServerDoc::NotifyRename

Call this function after the user renames the server document.

void NotifyRename(
   LPCTSTR lpszNewName 
);

Параметры

  • 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.

Требования

Header: afxole.h

См. также

Основные понятия

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleServerDoc::NotifySaved

CDocument::OnSaveDocument