CGXRichEditCtrl::CGXRichEditCtrl

CGXRichEditCtrl(CGXGridCore* pGrid);

pGrid

Pointer to the parent grid.

Remarks

Constructs a CGXRichEditCtrl object.

You need to register this object in the grid with CGXGridCore::RegisterControl before you can use it in cells (see example).

Example

This example shows how to register a CGXRichEditCtrl in the grid:

void CMyGridView::OnInitialUpdate()
{
   // ...
   CGXRichEditCtrl* pRTFControl = new CGXRichEditCtrl(this);
   RegisterControl(GX_IDS_CTRL_RICHEDIT, pRTFControl);
   // ...
}

See Also

 CGXGridCore::RegisterControl

CGXRichEditCtrl

 Class Overview |  Class Members