Compartir a través de


TVN_KEYDOWN (Compact 2013)

3/28/2014

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

See Also

Reference

Tree View Controls Notifications
NMTVKEYDOWN
TV_KEYDOWN
WM_NOTIFY