I am a dutch (weak excuse for my bad englisch) student who is trying to
learn visual c++.
For practice I'm writing a program where the user can put some text in a
CEdit field.
While the user is doing this the program is changing a status field (with
member variable name "m_status") with some messages.
If I use UpDateData(TRUE), then fill m_status with the new message, en then
call UpDateData(FALSE)
the cursor in the text field jumps back to the beginning of the text field.
Is it possible to only update the status field without updating the entire
dialog.
Thanks in advantage
Dave
You can also create a control variable for the CEdit control and use
m_edit.GetWindowText(str); to get the text from the CEdit control without calling
UpdateData().
Ruben
"Dave" <da...@dhogervorst.demon.nl> wrote in message
news:tv6u11q...@corp.supernews.com...