Quote Originally Posted by VictorN View Post
Well, I presume you answered the first part of my question, not the second!
I have just tested a similar control in one of my projects... It does work as expected: checkbox state of the item that has a focus (LVIS_FOCUSED state) changes after each space key press.
Thanks Victor.

To your 2nd part of ur question, I think there's an internal functionaly that changes checkbox when space key pressed. Actually I use CMFCListCtrl class in my project.

I'm very interested your way to control the state of the checkbox? I tried "SetCheck" function, but it not always works. Do you mean you use "SetCheck" together with "SetItemState(i,LVIS_FOCUSED,LVIS_FOCUSED)"?