This method is called by the framework when a list box with the LBS_WANTKEYBOARDINPUT style sends its owner a WM_CHARTOITEM message in response to a WM_CHAR message. This method is called by the framework to allow your application to handle a Windows 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 |
afx_msg int OnCharToItem( UINT nChar, CListBox* pListBox, UINT nIndex );