Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NMCUSTOMTEXT structure (commctrl.h)

Contains information used with custom text notification.

Syntax

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

Members

hdr

Type: NMHDR

An NMHDR structure that contains additional information about this notification.

hDC

Type: HDC

The device context to draw to.

lpString

Type: LPCWSTR

The string to draw.

nCount

Type: int

Length of lpString.

lpRect

Type: LPRECT

The rect to draw in.

uFormat

Type: UINT

One or more of the DT_* flags. For more information, see the description of the uFormat parameter of the DrawText function. This may be NULL.

fLink

Type: BOOL

Whether the text is a link.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header commctrl.h

Feedback

Was this page helpful?

Additional resources