You could try checking the uChanged parameter of the message as per
http://msdn.microsoft.com/en-us/library/bb774845(v=vs.85).aspx[
^]
void CMyClass::OnItemChanged(NMHDR *pNMHDR, LRESULT *pResult) {
*pResult = 1;
pNMLV = (LPNMLISTVIEW)pNMHDR;
if (!(pNMLV->uChanged & LVIF_TEXT)) {
}
}
Im not sure if that will work, you may need to experiment with it a little and check the values of
pNMLV
to see what is changing between the first call and the recursive call.