NM_KEYDOWN (toolbar) notification code

Sent by a control when the control has the keyboard focus and the user presses a key. This notification code is sent in the form of a WM_NOTIFY message.

NM_KEYDOWN

    lpnmk = (LPNMKEY) lParam;

Parameters

lParam

Pointer to an NMKEY structure that contains additional information about the key that caused the notification code.

Return value

Return nonzero to prevent the control from processing the key, or zero otherwise.

Remarks

Currently, only the toolbar control sends this notification code.

Requirements

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