This message is sent by an application to tell the HTML control to jump to the indicated anchor.
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.
SendMessage(hWndHTML, DTM_ANCHOR, 0, (LPARAM)&pnmHtmlView->szTarget);