kPad - Lightweight Text Editor

kPad

Brief Overview

kPad, a lightweight text editor loosely based on the MTPad sample from the Microsoft SDK (12/1/99) allows you to read and manipulate RTF and TXT files using a RichEdit control. However, kPad's main focus is as an example of what you can do using the WTL.

Features

  • Sheets control
  • Find and Replace custom dialogues
  • Small size 104 kilobytes

Implementation

  • This project was created with the help ATL\WTL AppWizard as a "Multiple Threads SDI " application with a generic view window.
  • The class SheetsCtrl is view window for the MainFrame and a container for the SheetView child windows.
  • SheetView is a superclass of the RichEdit control
  • The small size of 105 kilobytes is achieved due to the WTL's non-usage of the CRT library (_ATL_MIN_CRT) and use the project options /OPT:REF, /OPT:ICF, /OPT:NOWIN98.

Environment

  • This application was created with VC 6.0. SP3, WTL and January MS SDK.
  • It has been tested only on W2k.

Acknowledgments

WTL Sites References

Downloads

Download demo project - 52 Kb
Download source - 79 Kb


Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: August 20, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT When you look at natural user interfaces as a developer, it isn't just fun and games. There are some very serious, real-world usage models of how things can help make the world a better place – things like Intel® RealSense™ technology. Check out this upcoming eSeminar and join the panel of experts, both from inside and outside of Intel, as they discuss how natural user interfaces will likely be getting adopted in a wide variety …

  • Java developers know that testing code changes can be a huge pain, and waiting for an application to redeploy after a code fix can take an eternity. Wouldn't it be great if you could see your code changes immediately, fine-tune, debug, explore and deploy code without waiting for ages? In this white paper, find out how that's possible with a Java plugin that drastically changes the way you develop, test and run Java applications. Discover the advantages of this plugin, and the changes you can expect to see …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds