共用方式為


COleClientItem::OnUpdateFrameTitle

Called by the framework during in-place activation to update the frame window's title bar.

virtual BOOL OnUpdateFrameTitle( );

Return Value

Nonzero if this function successfully updated the frame title, otherwise zero.

Remarks

The default implementation does not change the frame window title. Override this function if you want a different frame title for your application, for example "server app - item in docname" (as in, "Microsoft Excel - spreadsheet in REPORT.DOC"). This is an advanced overridable.

Requirements

Header: afxole.h

See Also

Reference

COleClientItem Class

Hierarchy Chart