CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    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,


  2. #2
    Join Date
    May 1999
    Posts
    82

    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).


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured