anon
23.09.08, 21:49
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
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.
DOWNLOAD PAGE (http://www.codeguru.com/cpp/com-tech/atl/wtl/article.php/c79)
A really small rich text editor with lots of functions. It can open RTF and TXT files, and is really portable as an EXE that's just 100KB in size.
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
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.
DOWNLOAD PAGE (http://www.codeguru.com/cpp/com-tech/atl/wtl/article.php/c79)
A really small rich text editor with lots of functions. It can open RTF and TXT files, and is really portable as an EXE that's just 100KB in size.