Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URGENT: Windows based Text Editor

Status
Not open for further replies.

palmersheila

Technical User
Nov 30, 2003
12
MY
I am developing a Windows based text editor. And I am using Microsoft Visual C++ Application Wizard to develop it. Some of the functions have been generated by the wizard. I am now working on the other functions like (Delete, Redo, Print Preview, Status bar, Scrollbars, etc)
I welcome any advice/suggestion/guidance/help as I have no prior knowledge of applicatin development.

Thanx, Sheila
 
Hi There.

I am using VC++ version 6.0 and it already provides you with a basic Text Editor for free. :)

Select File->New->Project
MFC AppWizard (EXE)

Select Single Document Interface (SDI).
Keep pressing Next until you are can select your Base Class (normally CView or CWinApp). Instead select Base Class CEditView.

Select Finish

You should then have a very basic wordprocessor already written for you. Press F5 to compile and run it (say yes to create executable) and you should be all done. :)


 
>I welcome any advice/suggestion/guidance/help

Check out the source code for Wordpad, its comes with MSDN. That'd give you some hints on how things can be done...



/Per

"It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."
 
Thanks for the info..
I have donwloaded the WordPad sample from MSDN. But there seems to be a problem. After unzipping the file, I opened wordpad.sln But then I can't seem to build it. I opened the .sln file using Ms Visual C++ 6.0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top