Click here to Skip to main content
15,900,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am using listcontrol(report style)MFC .
First column of listcontrol is set as combo box
and I use onitemchanged event on combobox.

Whenever i choose any value from combobox it will populate the other columns with the respective values (default values). I have made columns editable.

Whenever i want to change value of any column(for test other than defualt value) columns are allow me to edit but when i clicked on other column or cell it will revert back to default value(original value)
The cells should not revert back to default value when manually changed for test .
Posted
Updated 24-Apr-13 5:52am
v2
Comments
SoMad 24-Apr-13 12:17pm    
You have to add the code to put the modified value into the cell. This allows you to validate what the user typed before accepting it or mark the field as updated or whatever else you might have to do.

Soren Madsen

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900