Partilhar via


CRichEditView Members

Base Class Members

CObject Members

CCmdTarget Members

CWnd Members

CView Members

CCtrlView Members

Constructor

CRichEditView

Constructs a CRichEditView object.

Attributes

GetCharFormatSelection

Retrieves the character formatting attributes for the current selection.

GetDocument

Retrieves a pointer to the related CRichEditDoc.

GetInPlaceActiveItem

Retrieves the OLE item that is currently in-place active in the rich edit view.

GetMargins

Retrieves the margins for this rich edit view.

GetPageRect

Retrieves the page rectangle for this rich edit view.

GetPaperSize

Retrieves the paper size for this rich edit view.

GetParaFormatSelection

Retrieves the paragraph formatting attributes for the current selection.

GetPrintRect

Retrieves the print rectangle for this rich edit view.

GetPrintWidth

Retrieves the print width for this rich edit view.

GetRichEditCtrl

Retrieves the rich edit control.

GetSelectedItem

Retrieves the selected item from the rich edit view.

GetTextLength

Retrieves the length of the text in the rich edit view.

GetTextLengthEx

Retrieves the number of characters or bytes in the rich edit view. Expanded flag list for method of determining the length.

SetCharFormat

Sets the character formatting attributes for the current selection.

SetMargins

Sets the margins for this rich edit view.

SetPaperSize

Sets the paper size for this rich edit view.

SetParaFormat

Sets the paragraph formatting attributes for the current selection.

Data Members

m_nBulletIndent

Indicates the amount of indent for bullet lists.

m_nWordWrap

Indicates the word wrap constraints.

Operations

AdjustDialogPosition

Moves a dialog box so that it doesn't obscure the current selection.

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.

FindText

Finds the specified text, invoking the wait cursor.

FindTextSimple

Finds the specified text.

InsertFileAsObject

Inserts a file as an OLE item.

InsertItem

Inserts a new item as an OLE item.

IsRichEditFormat

Tells whether the Clipboard contains data in a rich edit or text format.

OnCharEffect

Toggles 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.

TextNotFound

Resets the internal search state of the control.

Overridables

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.

IsSelected

Indicates if the given OLE item is selected or not.

OnFindNext

Finds the next occurrence of a substring.

OnInitialUpdate

Refreshes a view when it is first attached to a document.

OnPasteNativeObject

Retrieves native data from an OLE item.

OnPrinterChanged

Sets the print characteristics to the given device.

OnReplaceAll

Replaces all occurrences of a given string with a new string.

OnReplaceSel

Replaces the current selection.

OnTextNotFound

Handles user notification that the requested text was not found.

QueryAcceptData

Queries to see about the data on the IDataObject.

WrapChanged

Adjusts the target output device for this rich edit view, based on the value of m_nWordWrap.

See Also

Reference

CRichEditView Class

Hierarchy Chart