This assertion fails:
int GetTopIndex () const { int top = ListView_GetTopIndex (H ()); Assert (ListView_GetItemCount (H ()) == 0 || top < ListView_GetItemCount (H ())); return top; }