CRichEditView::OnCharEffect

void OnCharEffect( DWORD dwMask**,DWORD** dwEffect );

Parameters

dwMask

The character formatting effects to modify in the current selection.

dwEffect

The desired list of character formatting effects.

Remarks

Call this function to change the character formatting effects for the current selection.

For more information on the dwMask and dwEffect parameters and their potential values, see the corresponding data members of in the Win32 documentation.

Example

void CMyRichEditView::OnItalic()
{
   OnCharEffect( CFM_ITALIC, CFE_ITALIC );
}

CRichEditView OverviewClass MembersHierarchy Chart

See Also   CRichEditView::SetCharFormat