Share via


CDHtmlDialog::OnBeforeNavigate

Called by the framework to cause an event to fire before a navigation occurs.

virtual void OnBeforeNavigate(
   LPDISPATCH pDisp,
   LPCTSTR szUrl 
);

Parameters

  • pDisp
    A pointer to an IDispatch object.

  • szUrl
    A pointer to a string containing the URL to navigate to.

Requirements

Header: afxdhtml.h

See Also

Concepts

CDHtmlDialog Class

CDHtmlDialog Members

Hierarchy Chart

CDHtmlDialog::OnNavigateComplete