NMHDR structure (richedit.h)

Contains information about a notification message.

Syntax

typedef struct _nmhdr {
  HWND hwndFrom;
  UINT idFrom;
  UINT code;
} NMHDR;

Members

hwndFrom

Type: HWND

A window handle to the control sending the message.

idFrom

Type: UINT

An identifier of the control sending the message.

code

Type: UINT

A notification code. This member can be one of the common notification codes (see Notifications under General Control Reference), or it can be a control-specific notification code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header richedit.h (include Winuser.h)