NM_HTMLVIEW

This structure is pointed to by the LPARAM of the WM_NOTIFY message sent by the HTML control. The NMHDR is the standard notification structure that contains information about the instance (HWND, and so on) sending the notification message. The definitions of the szTarget, szData, and dwCookie members vary with the specific HTML Control notification message.

At a Glance

Header file: Htmlctrl.h
Windows CE versions: 1.0 and later

Syntax

typedef struct tagNM_HTMLVIEW {
NMHDR
hdr;
LPSTR
szTarget;
LPSTR
szData;
DWORD
dwCookie;
} NM_HTMLVIEW;

Members

hdr

NMHDR structure identifying the window sending the notification message.

szTarget

Null-terminated string whose usage is unique to the notification message, as shown in the following table.

Value Description
NM_HOTSPOT String that contains the contents of the HREF member in the HTML text.
NM_INLINE_IMAGE String that contains the text from the SRC parameter of the IMG tag in the HTML text.
NM_INLINE_SOUND String that contains the text from the SRC parameter of the BGSOUND tag in the HTML text.
NM_META String that contains the title of the HTML document.
NM_TITLE String that contains the contents of the HTTP-EQUIV parameter of the META tag in the HTML document.

szData

Null-terminated string whose usage is unique to the notification message, as shown in the following table.

Value Description
NM_HOTSPOT String that contains the query data for a POST form submission.
NM_INLINE_IMAGE Not used.
NM_INLINE_SOUND Not used.
NM_META String that contains the contents of the CONTENT parameter of the META tag in the HTML document.
NM_TITLE Not used.

dwCookie

Contains a value whose usage is unique to the notification message, as shown in the following table.

Value Description
NM_HOTSPOT Not used.
NM_INLINE_IMAGE Cookie value that must be passed from the application to the HTML control in the DTM_SETIMAGE or DTM_IMAGEFAIL message.
NM_INLINE_SOUND Loop count value from the LOOP parameter of the BGSOUND tag.
NM_META Not used.
NM_TITLE Not used.

See Also

NM_HOTSPOT, NM_INLINE_IMAGE, NM_INLINE_SOUND, NM_META, NM_TITLE