TVN_KEYDOWN

This notification message notifies a tree view control’s parent window that the user pressed a key and the tree view control has the input focus. It is sent in the form of a WM_NOTIFY message.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

  1. TVN_KEYDOWN ptvkd = (TV_KEYDOWN FAR *) lParam

Parameters

ptvkd

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

Return Values

If the wVKey member of ptvkd 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.

See Also

TV_KEYDOWN, WM_NOTIFY