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_ANCHOR
  wParam = 0;
  lParam = (LPARAM)(LPSTR) 
szAnchor;

Parameters

szAnchor

A null-terminated 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.

The following example shows how you might use this message.

Copy Code
SendMessage(hWndHTML, DTM_ANCHOR, 0,
(LPARAM)&pnmHtmlView->szTarget[1]);

Requirements

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

See Also

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.