TVN_KEYDOWN notification code

Notifies a tree-view control's parent window that the user pressed a key and the tree-view control has the input focus. This notification code is sent in the form of a WM_NOTIFY message.

TVN_KEYDOWN 

    ptvkd = (LPNMTVKEYDOWN) lParam 

Parameters

lParam

Pointer to an NMTVKEYDOWN structure. The wVKey member specifies the virtual key code.

Return value

If the wVKey member of lParam is a character key code, the character will be used as part of an incremental search. Return nonzero to exclude the character from the incremental search, or zero to include the character in the search. For all other keys, the return value is ignored.

Requirements

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