DERIVED CLASS FOR RICHEDIT CONTROLS. More...
#include <Zclass.h>
Public Member Functions | |
| void | Append (LPCTSTR str) |
| void | BackForeColor (COLORREF back, COLORREF fore) |
| void | FillColor (COLORREF color) |
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.
| void zRichEdit::Append | ( | LPCTSTR | str | ) | [inline] |
Appends the given text to the text area's current text.
| 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.
| 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.
| 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.
1.6.1