CRichEditView::SetCharFormat

void SetCharFormat( CHARFORMAT cf );

Parameters

cf

CHARFORMAT structure containing the new default character formatting attributes.

Remarks

Call this function to set the character formatting attributes for new text in this CRichEditView object. Only the attributes specified by the dwMask member of cf are changed by this function.

For more information, see EM_SETCHARFORMAT message and CHARFORMAT structure in the Win32 documentation.

CRichEditView OverviewClass MembersHierarchy Chart

See Also   CRichEditView::GetCharFormatSelection, CRichEditView::SetParaFormat