Stay Signed In
Do you want to access your site more quickly on this computer? Check this box, and your username and password will be remembered for two weeks. Click logout to turn this off.
Stay Safe
Do not check this box if you are using a public computer. You don't want anyone seeing your personal info or messing with your site.
// Construction/Destruction
public:
// Default constructor
CHtmlRichEditCtrlSSL();
// Default destructor
virtual ~CHtmlRichEditCtrlSSL();
public:
// Character format functions
// Sets the character format to be used for Tags
void SetTagCharFormat(int nFontHeight = 8,
COLORREF clrFontColour = RGB(128, 0, 0),
CString strFontFace = _T("Courier New"),
bool bParse = true);
// Sets the character format to be used for Tags
void SetTagCharFormat(CHARFORMAT& cfTags, bool bParse = true);
// Sets the character format to be used for Quoted text
void SetQuoteCharFormat(int nFontHeight = 8,
COLORREF clrFontColour = RGB(0, 128, 128),
CString strFontFace = _T("Courier New"),
bool bParse = true);
// Sets the character format to be used for Quoted text
void SetQuoteCharFormat(CHARFORMAT& cfQuoted, bool bParse = true);
// Sets the character format to be used for Comments
void SetCommentCharFormat(int nFontHeight = 8,
COLORREF clrFontColour = RGB(0, 128, 0),
CString strFontFace = _T("Courier New"),
bool bParse = true);
// Sets the character format to be used for Comments
void SetCommentCharFormat(CHARFORMAT& cfComments, bool bParse = true);
// Sets the character format to be used for Normal Text
void SetTextCharFormat(int nFontHeight = 8,
COLORREF clrFontColour = RGB(0, 0, 0),
CString strFontFace = _T("Courier New"),
bool bParse = true);
// Sets the character format to be used for Normal Text
void SetTextCharFormat(CHARFORMAT& cfText, bool bParse = true);
// Parsing functions
// Parses all lines in the control,
// colouring each line accordingly.
void ParseAllLines();
// Miscellaneous functions
// Loads the contents of the specified
// file into the control. Replaces
// the existing contents and parses all lines.
void LoadFile(CString& strPath);
// Enables/disables the background
// coloring timer. If enabled, event
// is raised every uiInterval millis
// and nNumOfLines uncolored lines are colored.
void SetBckgdColorTimer UINT uiInterval = 1000,
int nNumOfLines = 10;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHtmlRichEditCtrlSSL)
protected:
virtual void PreSubclassWindow();
//}}AFX_VIRTUAL