zRichEdit Class Reference

DERIVED CLASS FOR RICHEDIT CONTROLS. More...

#include <Zclass.h>

Inheritance diagram for zRichEdit:
zWindow

List of all members.

Public Member Functions

void Append (LPCTSTR str)
void BackForeColor (COLORREF back, COLORREF fore)
void FillColor (COLORREF color)

Detailed Description

DERIVED CLASS FOR RICHEDIT CONTROLS.

% Provides the functionality of the Windows rich edit control. A rich edit control is a window in which the user can enter, edit, format, print, and save text. The text can be assigned character and paragraph formatting, and can include embedded COM objects. Rich edit controls provide a programming interface for formatting text. However, an application must implement any user interface components necessary to make formatting operations available to the user.


Member Function Documentation

void zRichEdit::Append ( LPCTSTR  str  )  [inline]

Appends the given text to the text area's current text.

Parameters:
str - the text to append.
void zRichEdit::BackForeColor ( COLORREF  back,
COLORREF  fore 
) [inline]

Sets the background color and the foreground color used to display text.

Parameters:
back - A COLORREF value representing the color.
fore - A COLORREF value representing the color. When specifying an explicit RGB color, the COLORREF value has the following hexadecimal form: 0x00bbggrr The low-order byte contains a value for the relative intensity of red; the second byte contains a value for green; and the third byte contains a value for blue. The high-order byte must be zero. The maximum value for a single byte is 0xFF.
void zRichEdit::FillColor ( COLORREF  color  )  [inline]

Sets the fill color used to display text.

Parameters:
color - A COLORREF value representing the color. When specifying an explicit RGB color, the COLORREF value has the following hexadecimal form: 0x00bbggrr The low-order byte contains a value for the relative intensity of red; the second byte contains a value for green; and the third byte contains a value for blue. The high-order byte must be zero. The maximum value for a single byte is 0xFF.

Reimplemented from zWindow.


The documentation for this class was generated from the following file:

Generated on Sun Nov 29 07:22:17 2009 for Rad.on++ by  doxygen 1.6.1