koler432
February 22nd, 2008, 02:29 PM
Which message is triggered as soon as the selected item is changed? By a click or using the keyboard or whatever means? I'm using LVN_ITEMCHANGING, but I'm wondered if there's a more proper one for this?
I'm trying to make it so when you change the item the text from the forms gets saved and is the replaced by the text from the other item. I noticed LVN_ITEMCHANGING is triggered quite a few times (3 IIRC) and if I'm not wrong, it's once because one item was deselected, one time to set the other item as selected and yet another time to focus the new item.
Thanks in advance.
I'm trying to make it so when you change the item the text from the forms gets saved and is the replaced by the text from the other item. I noticed LVN_ITEMCHANGING is triggered quite a few times (3 IIRC) and if I'm not wrong, it's once because one item was deselected, one time to set the other item as selected and yet another time to focus the new item.
Thanks in advance.