This notification message is sent by the HTML viewer control if the user taps on a link or submits a form.
At a Glance
Header file: | Htmlctrl.h |
Windows CE versions: | 1.0 and later |
Syntax
NM_HOTSPOT NM_HTMLVIEW *pnmHtmlView = (NM_HTMLVIEW *)lParam; szHREFText = pnmHtmlView->szTarget; szPostData = pnmHtmlView->szData; switch(pnmHtmlView->hdr.code) { case NM_HOTSPOT: };
Parameters
pnmHtmlView
Pointer to an NM_HTMLVIEW structure that contains information about the NM_HOTSPOT notification message.
szHREFText
Null-terminated string that contains the contents of the HREF field in the HTML text.
szPostData
Null-terminated string that contains the query data for a POST form submission.
Return Value
This message does not return a value.
Remarks
The szTarget member of the NM_HTMLVIEW structure will contain the HREF text. On the click from an anchor, the HREF text will be the contents of the HREF field. For a GET form submission, the HREF text will include the form query data. For a POST form submission, the HREF text will include only the base that is contained in the <FORM> tag, and the query data will be passed in the szData member of the NM_HTMLVIEW structure.
See Also