This member function is called by the framework to specify the relative position of a new item in a child sorted owner-draw combo or list box.
afx_msg int OnCompareItem( int nIDCtl, LPCOMPAREITEMSTRUCT lpCompareItemStruct );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CListBox::CompareItem, CComboBox::CompareItem