NMKEY structure (commctrl.h)

Contains information used with key notification messages.

Syntax

typedef struct tagNMKEY {
  NMHDR hdr;
  UINT  nVKey;
  UINT  uFlags;
} NMKEY, *LPNMKEY;

Members

hdr

Type: NMHDR

An NMHDR structure that contains additional information about this notification.

nVKey

Type: UINT

A virtual key code of the key that caused the event.

uFlags

Type: UINT

Flags associated with the key. These are the same flags that are passed in the high word of the lParam parameter of the WM_KEYDOWN message.

Requirements

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