CHtmlView::OnNavigateComplete2

virtual void OnNavigateComplete2( LPCTSTR strURL );

Parameters

strURL

A string expression that evaluates to the URL, UNC file name, or PIDL (a pointer to an item identifier list) that was navigated to.

Remarks

This member function is called by the framework after a navigation to a hyperlink completes (on either a window or frameset element).

The URL parameter can be a PIDL in the case of a shell name space entity for which there is no URL representation.

Note that the URL contained in strURL can be different from the URL that the browser was told to navigate to, because this URL is the canonicalized and qualified URL. For example, if an application specifies a URL of "www.microsoft.com" in a call to Navigate or Navigate2, the URL passed by OnNavigateComplete2 will be "http://www.microsoft.com/". Also, if the server has redirected the browser to a different URL, the redirected URL will be reflected here.

CHtmlView OverviewClass MembersHierarchy Chart

See Also   DWebBrowserEvents2::NavigateComplete2