Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure contains information used with key messages.

Syntax

typedef struct tagNMKEY {
  NMHDR 
hdr;
  WORD 
wVKey;
  UINT 
flags;
} NMKEY, FAR* LPNMKEY;

Members

hdr

Handle to a NMHDRstructure that contains additional information about this message.

wVKey

Virtual key code of the key that caused the event.

flags

Flags associated with the key. These are the same flags that are passed in the high-order word of the lParamin the WM_KEYDOWNmessage.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also