On 11/21/18 5:51 PM, Huw Davies wrote:
static BOOL is_item_selected(LB_DESCR *descr, UINT index) {
- if (is_singlesel_NODATA(descr))
}return NODATA_is_sel(descr, index); return descr->items[index].selected;
So this looks like if (!IS_MULTISELECT(descr)) return index != descr->selected_item; return descr->items[index].selected;
This also should go to is_item_selected().