kPad - A lightweight WTL based text editor
Introduction
kPad is a lightweight text editor that works with RTF and TXT file formats.
It's an example of using the WTL library and RichEdit control, and is based on the MTPad sample from the Microsoft SDK (12/01/99).
Features
- Sheets control
- Find and Replace custom dialogs
- Small size (104 Kb)
Implementation
With the help of the ATL\WTL AppWizard I created a "Multiple Threads SDI" project with a generic view window. The class SheetsCtrl
is a view window for the Main Frame and a container for kSheetView
child windows. kSheetView
is a superclass of the RichEdit control.
The small size of 105 Kb is achieved by removing the dependancy on 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 the January MS SDK. It has been tested only on W2k.
Acknowledgments
- Andrew Nosenko - AtlAux library
- Ramon Smits - Cool WTL menu with Gradient Sidebar
- Vladimir Scherbakov - Color pickers dialog
- Girish Bharadwaj - Font combo
- Mihai Filimon - Sheet control
- Juraj Rojko - Syntax coloring Editor
- Ferdinand Prantl – EditPad
- David Hill - Pinnable dialog
- Chris Maunder, Alexander Bischofberger - Color Picker Button
- Kirk W. Stowell - Flat combo
WTL Sites References
License
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
标签:control,Kb,based,text,editor,WTL From: https://www.cnblogs.com/qzxff/p/16978656.html