CHtmlView::GetLocationName

CString GetLocationName( ) const;

Return Value

A CString object containing the name of the resource currently displayed in the WebBrowser.

Remarks

Call this member function to get the name of the resource being displayed in the WebBrowser. If the resource is an HTML page on the World Wide Web, the name is the title of that page. If the resource is a folder or file on the network or local computer, the name is the UNC or full path of the folder or file.

Applies to Internet Explorer and WebBrowser.

CHtmlView OverviewClass MembersHierarchy Chart

See Also   CHtmlView::GetLocationURL, IWebBrowser2::get_LocationName