Hello everyone,

I have a problem,

I have to get value from edit box, store it in variable and based on that value need to update another edit box.

Please tell me how can i get inter value, which is entered by user in visual c++.

8 Years
Discussion Span
Last Post by Ancient Dragon

You don't call DoDataExchange() directly. To cause that function to be called you have to call UpdateData() then MFC will call DoDataExchange(), which will transfer the data from the windows control to your variables, assuming you gave variable names to the controls. If you didn't do that then UpdateData() will do nothing. In that case you have to do it manually, which can be a big pain, but not impossible.

Edited by Ancient Dragon: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.