次の方法で共有


NMCUSTOMTEXT (Compact 2013)

3/28/2014

This structure contains information that is used with custom text notifications.

Syntax

typedef struct tagNMCUSTOMTEXT{
  NMHDR hdr;
  HDC hDC;
  LPCWSTR lpString;
  int nCount;
  LPRECT lpRect;
  UINT uFormat;
  BOOL fLink;
} NMCUSTOMTEXT, *LPNMCUSTOMTEXT;

Members

  • hdr
    An NMHDR structure that contains additional information about this notification.
  • hDC
    The device context to draw to.
  • lpString
    The string to draw.
  • nCount
    Length of lpString.
  • lpRect
    Points to the RECT structure to draw in.
  • uFormat
    Unsigned integer that specifies the method of formatting the text. This may be NULL.

    Allowed values are any combination of the DT_XXX values that are used in the DrawText function.

  • fLink
    TRUE if the text is a link, FALSE otherwise.

Remarks

This structure is used in the NM_CUSTOMTEXT notification.

Requirements

Header

commctrl.h

See Also

Reference

Common Control Structures