LPNMITEMACTIVATE is always giving iItem as -1
-
I am trying to inplace an edit box in a list control .Whenever I double click the item on the list control I am getting iItem of LPNMITEMACTIVATE as -1. Can any one suggest me regardig this S.Yamini
-
I am trying to inplace an edit box in a list control .Whenever I double click the item on the list control I am getting iItem of LPNMITEMACTIVATE as -1. Can any one suggest me regardig this S.Yamini
From MSDN: To obtain the items being activated, the receiving application should use the LVM_GETSELECTEDCOUNT message to receive the number of items that are selected and then send the LVM_GETNEXTITEM message with LVNI_SELECTED until all of the items have been retrieved
-
From MSDN: To obtain the items being activated, the receiving application should use the LVM_GETSELECTEDCOUNT message to receive the number of items that are selected and then send the LVM_GETNEXTITEM message with LVNI_SELECTED until all of the items have been retrieved
Thanks It works S.Yamini
-
Thanks It works S.Yamini
"To obtain the items being activated, the receiving application should use the LVM_GETSELECTEDCOUNT message to receive the number of items that are selected and then send the LVM_GETNEXTITEM message with LVNI_SELECTED until all of the items have been retrieved " How did you use LVM_GETSELECTEDCOUNT, LVM_GETNEXTITEM, and LVNI_SELECTED? Can you give an sample code to solve the problem mentioned?