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 CHARFORMAT 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 EM_GETCHARFORMAT message and CHARFORMAT structure in the Win32 documentation.

CRichEditCtrl OverviewClass MembersHierarchy Chart

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