Moving class files from C++ to VC++
-
I have built up some classes defining my program, they work perfectly in DOS. I am moving in Windows with VC++ 6.0, I am trying to output the messages of my program in a Edit box. The problem is the intergration part, I have port my program into VC++ environment. I just get mainfrm.cpp to inherit all my functions, and got the program running linking to a menu item. How do I actually output the messages into a Edit box? I know of using some MessageBox will be able to do that, but the messages are supposed to update the user on the progress of the program, so pressing the "OK" button for the user is quite tedious everytime there is a message! Any one who has some suggestions on integration into Windows? :eek:
-
I have built up some classes defining my program, they work perfectly in DOS. I am moving in Windows with VC++ 6.0, I am trying to output the messages of my program in a Edit box. The problem is the intergration part, I have port my program into VC++ environment. I just get mainfrm.cpp to inherit all my functions, and got the program running linking to a menu item. How do I actually output the messages into a Edit box? I know of using some MessageBox will be able to do that, but the messages are supposed to update the user on the progress of the program, so pressing the "OK" button for the user is quite tedious everytime there is a message! Any one who has some suggestions on integration into Windows? :eek:
You can use SetWindowText to put text into an Edit Control. Have a look at MSDN for syntax. Michael Programming is great. First they pay you to introduce bugs into software. Then they pay you to remove them again.
-
You can use SetWindowText to put text into an Edit Control. Have a look at MSDN for syntax. Michael Programming is great. First they pay you to introduce bugs into software. Then they pay you to remove them again.