NM_KEYDOWN
This notification message is sent by a control when the control has the keyboard focus and the user presses a key. It is sent in the form of a WM_NOTIFY message.
NM_KEYDOWN lpnmk = (LPNMKEY) lParam;
Parameters
- lpnmk
Long pointer to an NMKEY structure that contains additional information about the key that caused the notification message.
Return Values
Return nonzero to prevent the control from processing the key or zero otherwise.
Remarks
This notification is not sent by all controls. Currently, only the toolbar sends this notification.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.0 and later | Commctrl.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.