Partager via


TVN_KEYDOWN (Windows Embedded CE 6.0)

1/6/2010

This 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.

Syntax

TVN_KEYDOWN ptvkd = (TV_KEYDOWN FAR *) lParam

Parameters

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

Return Value

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.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Tree View Controls Notifications
NMTVKEYDOWN
TV_KEYDOWN
WM_NOTIFY