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.
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 |
protafx_msg int OnVKeyToItem( UINT nKey, CListBox* pListBox, UINT nIndex );