NMHDR structure

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_PTR

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

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