i have made a list control and when i cliked on list then it goes to OnLvnItemchangedList1 twice.Can anyone tell me the reason and how to avoid this.
I am not sure why is happening, though there are some issues in some MFC controls. A workaround could be to define a global bool, initially false, and if the function is called you set it to true. Before you set the global to true you can check its value and if its true you set it false and return the function. Usually it happens to change functions linked with controls.