CWnd::OnVKeyToItem

This method is called by the framework for a CWnd object that owns a list box with the LBS_WANTKEYBOARDINPUT and LBS_HASSTRINGS styles, when the list box sends the WM_VKEYTOITEM message in response to a WM_KEYDOWN message.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

protafx_msg int OnVKeyToItem( UINT nKey, CListBox* pListBox, UINT nIndex );

See Also

WM_KEYDOWN