Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

This message is sent by an application to tell the HTML control to jump to the indicated anchor.

Syntax

DTM_ANCHORW
  wParam = 0;
  lParam = (LPARAM)(LPWSTR) 
szAnchor;

Parameters

szAnchor

A null-terminated wide character text string that contains the name of the anchor to which the HTML control is to jump

Return Value

None

Remarks

If the anchor is already in the document, the jump occurs immediately. If the specified anchor is not in the document, the request will be remembered in such a way that, if the anchor is added, the jump will occur as soon as the anchor is available. When there is a pending anchor, any navigation commands from the user, such as keyboard scrolling or using the scroll bar, stops the pending anchor jump.

This is the Unicode version of DTM_ANCHOR.

Requirements

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

See Also