NMHDR structure (winuser.h)

Contains information about a notification message.

Syntax

typedef struct tagNMHDR {
  HWND     hwndFrom;
  UINT_PTR 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

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