I have created a CFormView with a few CEdit and CCombo boxes.
Instead of using UpdateData(TRUE) to update all the CEdit and CCombo boxes i just need to update one CCombo box. How can i do that??
Printable View
I have created a CFormView with a few CEdit and CCombo boxes.
Instead of using UpdateData(TRUE) to update all the CEdit and CCombo boxes i just need to update one CCombo box. How can i do that??
This might be an easy way to "cheat"...
Couldn't you just call UpdateData(TRUE) to get the values, change the 1 value that needs to be changed, then call UpdateData(FALSE)?
Technically everything would be updated, but only the 1 value would be changed...
I'm sure there's a more "honest" way to do it, but I sure don't know.
Good luck! Now, I'm interested to know if there's another answer too...
Try using SetWindowText().