Share via


Struttura NMCUSTOMTEXT (commctrl.h)

Contiene informazioni usate con notifica di testo personalizzata.

Sintassi

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

Members

hdr

Tipo: NMHDR

Struttura NMHDR che contiene informazioni aggiuntive su questa notifica.

hDC

Tipo: HDC

Contesto del dispositivo da disegnare.

lpString

Tipo: LPCWSTR

Stringa da disegnare.

nCount

Tipo: int

Lunghezza di lpString.

lpRect

Tipo: LPRECT

La correzione da disegnare.

uFormat

Tipo: UINT

Uno o più flag DT_*. Per altre informazioni, vedere la descrizione del parametro uFormat della funzione DrawText . Può trattarsi di NULL.

fLink

Tipo: BOOL

Indica se il testo è un collegamento.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista [solo app desktop]
Server minimo supportato Windows Server 2008 [solo app desktop]
Intestazione commctrl.h