Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CRichEditCntrItem Class

class CRichEditCntrItem : public COleClientItem

Remarks

A "rich edit control" is a window in which the user can enter and edit text. The text can be assigned character and paragraph formatting, and can include embedded OLE 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.

The CRichEditCntrItem class, with CRichEditView and CRichEditDoc, provides the functionality of the rich edit control within the context of MFC's document view architecture. CRichEditView maintains the text and formatting characteristic of text. CRichEditDoc maintains the list of OLE client items which are in the view. CRichEditCntrItem provides container-side access to the OLE client item.

This Windows Common control (and therefore the CRichEditCtrl and related classes) is available only to programs running under Windows 95/98 and Windows NT versions 3.51 and later.

For an example of using rich edit container items in an MFC application, see the WORDPAD sample application.

Requirements

Header: afxrich.h

See Also

MFC Sample WORDPAD

Class Members | Base Class | Hierarchy Chart | CRichEditDoc | CRichEditView

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.