#if !defined(__rchedtcn_h) // Sentry, use file only if it's not already included.
#define __rchedtcn_h
/* Project richctrl
DHB Software
Copyright ⌐ 1996. All Rights Reserved.
SUBSYSTEM: richctrl.apx Application
FILE: rchedtcn.h
AUTHOR: David H. Borg
OVERVIEW
========
Class definition for RichEditControl (TEdit).
*/
#include <owl\owlpch.h>
#pragma hdrstop
#include <commctrl.h> // Windows 95 common controls
#include <richedit.h> // Windows 95 rich text editor
#include "rchctrla.rh" // Definition of all resources.
//{{TEdit = RichEditControl}}
class RichEditControl : public TEdit {
public:
RichEditControl (TWindow* parent, int id, const char far* text, int x, int y, int w, int h, uint textLen = 0, bool multiline = false, TModule* module = 0);
virtual ~RichEditControl ();
public:
TFindReplaceDialog::TData FindReplaceData;
TFindReplaceDialog* FindReplaceDialog;
uint FindReplaceCmd;
void DoFind();
protected:
TOpenSaveDialog::TData FileData;
TChooseFontDialog::TData FontData;
char far* FileName;
CHARFORMAT charFormat; // common character format structure
PARAFORMAT paraFormat; // common paragraph format structure
int streamFormat;
bool updtFontFace, updtFontSize; // time to update character font info