A extended CEdit with simple input output to replace DOS shell ?
Article Writing
1
Posts
1
Posters
8
Views
1
Watching
-
Hi I'm very new with Visual C++ and MFC. I'm trying to write a simple expression evaluator with GUI. However, I can't find any way to write output in a way such that user can type in the next line, like cout C++. I tried to use GetWindowText, SetWindowText but the problem with SetWindowText is that the cursor will come back to point (0,0) and I can't set it to the next line of the written line. I also want this edit window can change wordwrap state dynamically like NotePad. Have anyone ever written any app like that, can you show me how to do it. Thank you very much. Tung