CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: input box

  1. #1
    Guest

    input box

    simple question here: i´ve got a dialog with some text input boxes and CString variables assigned to the them. however, if i alter the text in such a box, the according variable doesn´t change its contents. do i have to update this manually?

    please help


  2. #2
    Join Date
    May 1999
    Location
    Seattle, WA USA
    Posts
    423

    Re: input box

    you need to call UpdateData. Search for it in the help file, but I think

    UpdateData (TRUE) fills your CString vars with the editbox contents, and
    UpdateData (FALSE) fills the editbox with you CStrings contents.

    HTH
    --michael


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