creating a simple window for text output
Hello,
How do you create a simple window in Visual C++ so that I can write a program to display text output and request user inputs. The reason for this is I do not want to write a console (DOS) non-graphic program since the DOS screen has limited number of lines to display your text. What I mean by a simple window is a window that has scrollbars similar to the window in Notepad. Can any show me a small program or a program that has this with source code?
Thanks,
Re: creating a simple window for text output
This is actually very simple in Visual C++, all you need to do is create a new MFC based application using App Wizard and on the last step make sure your view class is derived from CEditView. This provides all the basic input functions, including cut/copt/paste and mouse selection (very much like NotePad).