CRichEditView Class Members

Constructor

CRichEditView Constructs a CRichEditView object.

Attributes

GetDocument Retrieves a pointer to the related CRichEditDoc.
GetCharFormatSelection Retrieves the character formatting attributes for the current selection.
SetCharFormat Sets the character formatting attributes for the current selection.
GetParaFormatSelection Retrieves the paragraph formatting attributes for the current selection.
SetParaFormat Sets the paragraph formatting attributes for the current selection.
GetTextLength Retrieves the length of the text in the rich edit view.
GetPaperSize Retrieves the paper size for this rich edit view.
SetPaperSize Sets the paper size for this rich edit view.
GetMargins Retrieves the margins for this rich edit view.
SetMargins Sets the margins for this rich edit view.
GetPrintWidth Retrieves the print width for this rich edit view.
GetPrintRect Retrieves the print rectangle for this rich edit view.
GetPageRect Retrieves the page rectangle for this rich edit view.
GetSelectedItem Retrieves the selected item from the rich edit view.
GetInPlaceActiveItem Retrieves the OLE item that is currently in-place active in the rich edit view.
GetRichEditCtrl Retrieves the rich edit control.

Data Members

m_nBulletIndent Indicates the amount of indent for bullet lists.
m_nWordWrap Indicates the word wrap constraints.

Operations

FindText Finds the specified text, invoking the wait cursor.
FindTextSimple Finds the specified text.
IsRichEditFormat Tells whether the Clipboard contains data in a rich edit or text format.
CanPaste Tells whether the Clipboard contains data that can be pasted into the rich edit view.
DoPaste Pastes an OLE item into this rich edit view.
InsertItem Inserts a new item as an OLE item.
InsertFileAsObject Inserts a file as an OLE item.
AdjustDialogPosition Moves a dialog box so that it doesn’t obscure the current selection.
OnCharEffect Changes the character formatting for the current selection.
OnParaAlign Changes the alignment of paragraphs.
OnUpdateCharEffect Updates the Command UI for character public member functions.
OnUpdateParaAlign Updates the Command UI for paragraph public member functions.
PrintInsideRect Formats the specified text within the given rectangle.
PrintPage Formats the specified text within the given page.

Overridables

OnInitialUpdate Refreshes a view when it is first attached to a document.
IsSelected Indicates if the given OLE item is selected or not.
OnFindNext Finds the next occurrence of a substring.
OnTextNotFound Handles user notification that the requested text was not found.
OnReplaceAll Replaces all occurrences of a given string with a new string.
OnReplaceSel Replaces the current selection.
QueryAcceptData Queries to see about the data on the IDataObject.
OnPasteNativeObject Retrieves native data from an OLE item.
OnPrinterChanged Sets the print characteristics to the given device.
WrapChanged Adjusts the target output device for this rich edit view, based on the value of m_nWordWrap.
GetClipboardData Retrieves a Clipboard object for a range in this rich edit view.
GetContextMenu Retrieves a context menu to use on a right mouse-button down.

CRichEditView OverviewBase Class MembersHierarchy Chart