I am new to Visual C++ and have created a very simple app in MFC. I created a dialog with three Edit boxes, two are 'read only'. I used the Wizard to Add Variable to the Edit Boxes. (The variables are Public in the Dialog Class.) My app will take the contents of the variable associated with Edit1 and put the first two characters of the CString in the variable for Edit2 and then put the int 25 in Edit3. I have created two EventHandlers in "TesterDlg.cpp" using the Wizard, the first is the KillFocus event handler and the second is the Change event handler. When I run the app and type something into Edit1, nothing happens to Edit2 or Edit3. I added printing something to the console (cout) to the event handlers and nothing happens when I run the app. Its like the event handlers aren't running. What have I screwed up??
↧