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

  • On-demand Event Event Date: December 18, 2014 The Internet of Things (IoT) incorporates physical devices into business processes using predictive analytics. While it relies heavily on existing Internet technologies, it differs by including physical devices, specialized protocols, physical analytics, and a unique partner network. To capture the real business value of IoT, the industry must move beyond customized projects to general patterns and platforms. Check out this webcast and join industry experts as …

  • Today's agile organizations pose operations teams with a tremendous challenge: to deploy new releases to production immediately after development and testing is completed. To ensure that applications are deployed successfully, an automatic and transparent process is required. We refer to this process as Zero Touch Deployment™. This white paper reviews two approaches to Zero Touch Deployment--a script-based solution and a release automation platform. The article discusses how each can solve the key …

Most Popular Programming Stories

More for Developers

RSS Feeds