BUG: List View Control Does Not Sort Items Correctly
Article ID: 191295
Article Last Modified on 7/22/2003
APPLIES TO
- Microsoft Windows CE 2.0 for the Handheld PC
- Microsoft Windows CE 2.1 for the Handheld PC
- Microsoft Windows CE 2.11 for the Handheld PC
- Microsoft Windows CE 2.12 for the Handheld PC
- Microsoft Windows CE 3.0 for the Handheld PC
- Microsoft Windows CE 3.01 for the Handheld PC
- Microsoft Windows CE 3.0 for the Handheld PC Professional Edition
- Microsoft Windows CE 2.0 for the Handheld PC
- Microsoft Windows CE 2.1 for the Handheld PC
- Microsoft Windows CE 2.11 for the Handheld PC
- Microsoft Windows CE 2.12 for the Handheld PC
- Microsoft Windows CE 3.01 for the Handheld PC
- Microsoft Windows CE 3.01 Professional Edition
This article was previously published under Q191295
SYMPTOMS
List view controls that use LVS_SORTASCENDING or LVS_SORTDESCENDING do not
sort items correctly.
RESOLUTION
Applications can sort the list view items by sending the list view control
a LVM_SORTITEMS message and defining a comparison function.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this bug and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
Keywords: kbbug kblistview kbpending KB191295