CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2001
    Location
    Singapore
    Posts
    200

    Help on UpdateData

    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??

  2. #2
    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...

  3. #3
    Join Date
    Feb 2001
    Location
    TN
    Posts
    290
    Try using SetWindowText().

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured