Share via


CRichEditCtrl::GetDefaultCharFormat

DWORD GetDefaultCharFormat( CHARFORMAT& cf ) const;

Return Value

The dwMask data member of cf. It specified the default character formatting attributes.

Parameters

cf

Pointer to a structure which will hold the default character formatting attributes.

Remarks

Call this function to get the default character formatting attributes of this CRichEditCtrl object.

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

Example

See the example for SetDefaultCharFormat.

CRichEditCtrl OverviewClass MembersHierarchy Chart

See Also   CRichEditCtrl::SetDefaultCharFormat, CRichEditCtrl::GetSelectionCharFormat, CRichEditCtrl::GetParaFormat