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.
protafx_msg int OnVKeyToItem( UINT nKey, CListBox* pListBox, UINT nIndex );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, WM_KEYDOWN