CWnd::OnVKeyToItem

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

Syntax

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

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, WM_KEYDOWN