#ifndef TEXTCONTROL_H #define TEXTCONTROL_H #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include class TextControl { public: TextControl(int x, int y, int width, int height, bool preview = false); void moveTo(int x, int y, int width, int height); virtual ~TextControl(); void show(); void hide(); void focus(); virtual void paint(); virtual void clearText(); void addText(const WCString &text); void endOfText(); protected: HWND htmlPrimed; HWND htmlFull; WCString buffer; RECT area; bool portrait; bool preview; bool primed; int i; }; #endif