This member function is called by the framework to determine the relative position of a new item in a sorted owner-draw list box.
virtual int CompareItem( LPCOMPAREITEMSTRUCT lpCompareItemStruct );
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CListBox Overview, CListBox Member Functions, Control Classes, CWnd::OnCompareItem, CListBox::DrawItem, CListBox::MeasureItem, CListBox::DeleteItem