CHtmlView::GetLocationURL

CString GetLocationURL( ) const;

Return Value

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

Remarks

Call this member function to retrieve the URL of the resource that the WebBrowser control is currently displaying. 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::GetLocationName, IWebBrowser2::get_LocationURL