Compartir a través de


TVN_KEYDOWN

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

NMTVKEYDOWN
TV_KEYDOWN
WM_NOTIFY