Hi, sorry for the delay of my answer.

I checked and it is in fact a bug that listitems won't turn invisible when their LIF_SHOW flag isn't set. I put it on my ToDo list. For now, as a workaround, in addition to turning off the LIF_SHOW flag, manually turn its panel and text invisible.