Partilhar via


CRichEditCtrl::SetPunctuation

Sets the punctuation in a rich edit control.

BOOL SetPunctuation(
   UINT fType,
   PUNCTUATION* lpPunc 
);

Parameters

  • fType
    The punctuation flag. For a list of possible values, see the fType parameter for EM_SETPUNCTUATION in the Windows SDK.

  • lpPunc
    A pointer to a PUNCTUATION structure, as described in the Windows SDK.

Return Value

Nonzero if successful, otherwise 0.

Remarks

This member function is available for only Asian-language versions of the operating system.

Requirements

Header: afxcmn.h

See Also

Reference

CRichEditCtrl Class

Hierarchy Chart

CRichEditCtrl::GetPunctuation

Other Resources

CRichEditCtrl Members