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


COleServerDoc::OnSetHostNames

Called by the framework when the container sets or changes the host names for this document.

virtual void OnSetHostNames(
   LPCTSTR lpszHost,
   LPCTSTR lpszHostObj 
);

Параметры

  • lpszHost
    Pointer to a string that specifies the name of the container application.

  • lpszHostObj
    Pointer to a string that specifies the container's name for the document.

Заметки

The default implementation changes the document title for all views referring to this document.

Override this function if your application sets the titles through a different mechanism.

Требования

Header: afxole.h

См. также

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

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleClientItem::SetHostNames