Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/listview.c:
- /* disable per item notifications on LVS_OWNERDATA style
FIXME: single LVN_ODSTATECHANGED should be used */
/* Disable per item notifications on LVS_OWNERDATA style */ old_mask = infoPtr->notify_mask & NOTIFY_MASK_ITEM_CHANGE; if (infoPtr->dwStyle & LVS_OWNERDATA) infoPtr->notify_mask &= ~NOTIFY_MASK_ITEM_CHANGE;
LISTVIEW_DeselectAllSkipItems(infoPtr, selection);
- iterator_rangesitems(&i, selection); while(iterator_next(&i))
- LISTVIEW_SetItemState(infoPtr, i.nItem, &item);
- {
// Find the range for LVN_ODSTATECHANGED
Please use /**/ instead.