CWnd::OnCompareItem

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.

Syntax

afx_msg int OnCompareItem( int nIDCtl, LPCOMPAREITEMSTRUCT lpCompareItemStruct );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CListBox::CompareItem, CComboBox::CompareItem