Quote:
Originally posted by pa2003
Is it possible to make a string work similar to some think like a static int; if i can have the string declared just once i can make a function that other functions can call, the problem am having when i try this is that each call resets the string. Is it posssible to do this, i just want to store the string some where then get it when its needed. I can get the text from inside its view, i just can get it to the second view, this might be able to do the trick if its possible.
I don't see where static variables would come in... A CString member variable is all you need. More specifically, and as already said, a DDX member variable, to have the contents automatically transferred between your CString and the edit control. All you need to do is to access that member from outside the view, so I don't understand why you are still hesitating.