Share via


CHtmlView::OnTitleChange

This member function is called by the framework to notify an application if the title of a document in the WebBrowser control becomes available or changes.

virtual void OnTitleChange( 
   LPCTSTR lpszText  
);

Parameters

  • lpszText
    The new document title.

Remarks

For HTML, the title might change; while HTML is still downloading, the URL of the document is set as the title. After the real title (if there is one) is parsed from the HTML, the title is changed to reflect the actual title.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlView Class

Hierarchy Chart

Other Resources

CHtmlView Members