Compartilhar via


INLINEIMAGEINFO

4/8/2010

This structure is sent in the DTM_SETIMAGE message from the application to the HTML control.

Syntax

typedef struct tagINLINEIMAGEINFO {
  DWORD dwCookie;
  int iOrigHeight;
  int iOrigWidth;
  HBITMAP hbm;
  BOOL bOwnBitmap;
} INLINEIMAGEINFO;

Members

  • dwCookie
    Specifies the cookie value passed in the dwCookie member of the NM_HTMLVIEW structure when an NM_INLINE_IMAGE notification message is received from the HTML control.
  • iOrigHeight
    The original height of the image.
  • iOrigWidth
    The original width of the image.
  • hbm
    The handle to the bitmap of the image.
  • bOwnBitmap
    A boolean that is set to TRUE if the HTML control will destroy the bitmap when the page is destroyed, or to FALSE if the HTML control will not destroy the bitmap.

Requirements

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

See Also

Reference

HTML Control API Structures
DTM_IMAGEFAIL
DTM_SETIMAGE
NM_INLINE_IMAGE