In LISTVIEW_AddGroupSelection and LISTVIEW_SetGroupSelection, if no selection mark has been set, just select the current item. In LISTVIEW_SetGroupSelection we must also set the selection mark in that case (and only in that case). Removed a naughty ';' (spotted by Eric Pouech).