I am creating an MDI app. Basically, the app will open binary files, and display the information contained in those files as text. The child windows are CEditView windows.
I want the text to appear in the child windows as I open each file. I have the following code, but I don't know which function to put it in so that text gets displayed automatically after opening a file. Currently, I get the text to display using a mouse button handler.
Code:CString str; // set the string here theCtrl.SetReadOnly(); theCtrl.ReplaceSel(str);