Compartilhar via


NM_NAVIGATECOMPLETE

4/8/2010

This notification message is sent by the HTML viewer control when a navigation request has completed.

Syntax

NM_NAVIGATECOMPLETE
NM_HTMLVIEW * pnmHTMLView = (NM_HTMLVIEW *)lParam;
szURL = pnmHTMLView->szTarget;

Parameters

  • pnmHTMLView
    Points to an NM_HTMLVIEW structure that contains information about the NM_NAVIGATECOMPLETE notification message.
  • szURL
    A null-terminated string that contains the completed navigation URL.

Return Value

The return value is ignored by the control.

Remarks

NM_NAVIGATECOMPLETE is sent by SetWindowText only when the string is not NULL.

The information contained in the szURL parameter returned by NM_NAVIGATECOMPLETE is the complete navigation URL. The information contained in the szURL parameter returned by NM_BEFORENAVIGATE is the navigation URL as it appeared in the SendMessage argument list before being composed into a complete and valid navigation URL.

For an example of this difference, see the Example at NM_BEFORENAVIGATE.

Requirements

Header htmlctrl.h
Library htmlctrl.lib
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

HTML Control API Notifications
DTM_NAVIGATE
DTM_STOP
NM_BEFORENAVIGATE
NM_DOCUMENTCOMPLETE
NM_HTMLVIEWA
NM_HTMLVIEWW