Structure NMCUSTOMTEXT (commctrl.h)

Contient des informations utilisées avec la notification texte personnalisée.

Syntaxe

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

Membres

hdr

Type : NMHDR

Structure NMHDR qui contient des informations supplémentaires sur cette notification.

hDC

Type : HDC

Contexte d’appareil vers lequel dessiner.

lpString

Type : LPCWSTR

Chaîne à dessiner.

nCount

Type : int

Longueur de lpString.

lpRect

Type : LPRECT

Rect à dessiner.

uFormat

Type : UINT

Un ou plusieurs indicateurs DT_*. Pour plus d’informations, consultez la description du paramètre uFormat de la fonction DrawText . Cette valeur peut être NULL.

fLink

Type : BOOL

Indique si le texte est un lien.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows Vista [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2008 [applications de bureau uniquement]
En-tête commctrl.h