Search by:

Programming Tutorial

Home

MFC Text Editor Tutorial:

  1. Select New from the File menu.
  2. Select MFC AppWizard (exe).
  3. Type the name of your project in the Project name box.
  4. Select the location where you want the project to be saved in the Location box.
  5. Click the OK button.

  1. Select the Single document radio button.
  2. Click the Next button.

  1. Click the Next button.

  1. Click the Next button.

  1. Click the Advanced button.

  1. Type txt or any other file extension you want in the File extension box (e.g. If you want to make a VB Script editor, type vbs).
  2. Click the Close button.
  3. Click the Next button.

  1. Click the Next button.

  1. Select CEditView from the Base class list.
  2. Click the Finish button.

  1. Click the OK button.
  2. Press Ctrl+F5 or Execute YourProjectName.exe from the Build menu.

  1. Congratulations. You just made a text editor.
  2. Try it out.