Compartilhar via


CRichEditCtrl::GetPunctuation

Gets the current punctuation characters in a rich edit control.

BOOL GetPunctuation( 
   UINT fType, 
   PUNCTUATION* lpPunc  
) const;

Parameters

  • fType
    The punctuation type flag, as described in the fType parameter of EM_GETPUNCTUATION in the Windows SDK.

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

Return Value

Nonzero if the operation succeeded, otherwise 0.

Remarks

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

Requirements

Header: afxcmn.h

See Also

Reference

CRichEditCtrl Class

Hierarchy Chart

CRichEditCtrl::SetPunctuation