home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
macintosh-c
/
macc-carbon-demos-nonbinhex.sit
/
macc-carbon-demos-nonbinhex
/
chap26-demo
/
MLTETextEditor.h.rsrc
/
TEXT_17832.txt
< prev
Wrap
Text File
|
2001-05-31
|
1KB
|
20 lines
// *******************************************************************************************
// MTLETextEditor.h CARBON
// *******************************************************************************************
//
// This program demonstrates the use of the Multilingual Text Engine API to create a basic
// multi-styled text editor. New documents created by the program are created and saved as
// Textension ('txtn') documents. Existing 'TEXT' documents and Unicode ('utxt') documents
// are saved in the original format. In the case of 'TEXT' documents, style information is
// saved in a 'styl' resource.
//
// The program utilises the following resources:
//
// • A 'carb' resource.
//
// • An 'MBAR' resource, and 'MENU' resources for Apple, File, Edit, Size, Style, Colour,
// and Justification (preload, non-purgeable).
//
// • A 'WIND' resource (purgeable) (initially not visible).
//
// • A 'STR ' resource containing the "missing