COleServerDoc::OnSetHostNames

virtualvoidOnSetHostNames(LPCTSTRlpszHost**,LPCTSTRlpszHostObj);**

Parameters

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.

Remarks

Called by the framework when the container sets or changes the host names for this 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.

COleServerDoc OverviewClass MembersHierarchy Chart

See Also   COleClientItem::SetHostNames