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


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 
);

Параметры

  • lpszText
    The new document title.

Заметки

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.

Требования

Header: afxhtml.h

См. также

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

CHtmlView Class

CHtmlView Members

Hierarchy Chart