COleServerDoc::NotifyRename
在使用者重新命名伺服器資料重新命名後,請呼叫此函式。
void NotifyRename(
LPCTSTR lpszNewName
);
參數
- lpszNewName
字串的指標指定伺服器資料的新名稱,這通常是完整的路徑。
備註
當使用者選取 [另存新檔] 命令從檔案功能表時, NotifyRename 由 OnSaveDocument 成員函式的 COleServerDoc 的實作會呼叫。 這個函式會告知此 OLE 系統 DLL,這些告知容器。 在容器應用程式會使用 MFC 程式庫, COleClientItem 的 OnChange 呼叫成員函式。
需求
Header: afxole.h