 ---------------------------------------------------
|                                                   |
| Rich Text Cells                                   |
|                                                   |
| iGrid.NET 1.70 Extra Samples                      |
| Copyright (c) 10Tec Company                       |
| All rights reserved                               |
|                                                   |
| Available editions:                               |
| >> iGrid.NET 1.7, VS2005 C#/VB.NET                |
| >> iGrid.NET 2.5, VS2005 C#/VB.NET                |
|                                                   |
 ---------------------------------------------------

Description:
============
In this example you can see how to display rich (formatted) text in 
iGrid.NET cells and how to edit these cells with a RichTextBox control.

Short Code Explanation:
=======================
The main part of the example is located in the iGRichTextManager class. 
In the constructor of this class you specify the grid it will work with. 
With the ManageCol method you specify the columns which contain rich text 
and should be drawn and edited as rich text.

Drawing of rich text is implemented by using a Win32 RichTextBox control. 
When we want to draw text, we send the EM_FORMATRANGE message to the 
Win32 RichTextBox control and specify the drawing surface and bounds in 
the parameters.

The editing is implemented by handling the RequestEditCell event. In this 
event we place a RichTextBox control over the cell to be edited. After 
editing has been finished, we hide it.
