Partager via


NM_INLINE_IMAGE

4/8/2010

This notification message is sent by the HTML viewer control to notify the application to load the image.

Syntax

NM_INLINE_IMAGE
NM_HTMLVIEW * pnmHTMLView = (NM_HTMLVIEW *)lParam;
szSRCText = pnmHTMLView->szTarget;
dwCookieValue = pnmHTMLView->szData;

Parameters

  • pnmHTMLView
    Points to an NM_HTMLVIEW structure that contains information about the NM_INLINE_IMAGE notification message.
  • szSRCText
    A null-terminated string that contains the contents of the SRC attribute of the IMG tag in the HTML text.
  • dwCookieValue
    Specifies a cookie value that must be passed in the DTM_SETIMAGE or DTM_IMAGEFAIL message, from the application to the HTML control.

Return Value

If the application handles this message it should return a non-zero result. Passing a zero result to the HTML control will result in the default control handling to occur.

Requirements

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

See Also

Reference

HTML Control API Notifications
DTM_IMAGEFAIL
DTM_SETIMAGE
NM_HTMLVIEWA
NM_HTMLVIEWW
HTML Control API Window Styles