共用方式為


CDHtmlDialog::GetCurrentUrl

Retrieves the Uniform Resource Locator (URL) associated with the current document.

void GetCurrentUrl(
   CString& szUrl 
);

Parameters

  • szUrl
    A CString object containing the URL to retrieve.

Requirements

Header: afxdhtml.h

See Also

Concepts

CDHtmlDialog Class

CDHtmlDialog Members

Hierarchy Chart