Export (0) Print
Expand All

DTM_ANCHOR

Windows Mobile 6.5
4/8/2010

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


DTM_ANCHOR
  wParam = 0;
  lParam = (LPARAM)(LPSTR) szAnchor;

szAnchor

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

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[1]);

Headerhtmlctrl.h
Libraryhtmlctrl.lib
Windows MobilePocket PC 2002 and later, Smartphone 2002 and later

Community Additions

ADD
Show:
© 2014 Microsoft